Starting MySQLCouldn't find MySQL manager or server

리눅스/MySQL|2015. 1. 16. 11:14
반응형

Solution 
Step 1.)

Rem out the line in /etc/my.conf that was setting basedir to /var/lib. As seen below:

user=mysql
#basedir=/var/lib

Step 2.)

Create the directory "/var/run/mysqld" if it does not exist. Then chown that directory to mysql.mysql as below...

mkdir /var/run/mysqld
chown mysql.mysql /var/run/mysqld

Step 3.)

Start the service..

service mysql start

 

[출처] http://javasolution.blogspot.com/2007/04/mysql-couldnt-find-mysql-server-or.html

 

※ basedir 이 /etc/init.d/mysqld 구동파일과 /etc/my.cnf 에 있을 수 있으니 둘 다 확인해보아야 합니다.

반응형

댓글()