libmysqlclient.so.18: cannot open shared object file: No such file or directory

Solution 1:

On CentOS 7, libmysqlclient.so.18 is in the package mariadb-libs so check if that package is installed and if not:

yum install mariadb-libs