1、libmysqlclient.so.18: cannot open shared object file: No such file or directory
解决办法:
[root@linux-node1 ~]# find / -name libmysqlclient.so.18 /usr/local/mysql/lib/libmysqlclient.so.18 [root@linux-node1 ~]# echo "/usr/local/mysql/lib" >> /etc/ld.so.conf #将/usr/local/mysql/lib加到/etc/ld.so.conf中 [root@linux-node1 ~]# cat /etc/ld.so.conf #查看 include ld.so.conf.d/*.conf /usr/local/mysql/lib [root@linux-node1 ~]# ldconfig #生效命令