cpanel server
/etc/init.d/mysql status
ERROR! MySQL is not running
[root@ns2 subsys]# /etc/init.d/mysql restart
ERROR! MySQL manager or server PID file could not be found!
Starting MySQL ERROR! Couldn't find MySQL manager (/var/lib/bin/mysqlmanager) or server (/var/lib/bin/mysqld_safe)
[root@ns2 subsys]# /etc/init.d/mysql stop
ERROR! MySQL manager or server PID file could not be found!
check in /etc/my.cnf ----------whether base_dir is set to /var/lib if so remove it.
Subscribe to:
Post Comments (Atom)
if you just upgraded to mysql 5 from 4.1
ReplyDeletecheck your my.cnf, make sure to comment out these two. worked for me
datadir=
basedir=