mysql启动报错
军哥,我刚装的LNMP显示装成功了,但登陆mysql的时候报错了。mysql: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory我根据论坛搜索的解决方法去find libmysqlclient.so.15但是却找不到。我的系统是centos5.9 32位的
一般这个都是在/usr/local/mysql/lib/mysql/ 下面
可以ln -s 到/usr/lib下面
回复 2# 的帖子
但是,我查看到的居然是16.不是15.这该怎么办?ln -s这个so.16的试试
军哥进来帮忙下。谢谢。。MYsql重启出错。
今天就因为SENDMAIL失效。重新安装的时候。发现有200多个东西没有升级。就输入apt-get update.
apt-gert upgrade
接下来重启lnmp就出现这种情况了
ot@MyVPS1650:~# ps -ef |grep mysql
root 502149610 15:16 pts/0 00:00:00 grep mysql
root@MyVPS1650:~# /etc/init.d/mysql start
Starting MySQL
.The server quit without updating PID file (/var/run/mysqld/mysqld.pid). ... failed!
root@MyVPS1650:~# ps aux |grep mysq*
root 57040.00.1 3436 784 pts/0 S+ 15:18 0:00 grep mysq*
root@MyVPS1650:~# mv /etc/my.cnf /etc/my.cnf.backup
root@MyVPS1650:~# /etc/init.d/mysql start
Starting MySQL
.The server quit without updating PID file (/var/run/mysqld/mysqld.pid). ... failed!
蛋疼。。数据库没有备份。。。
页:
[1]