mysql启动报错及解决办法
今天在编译Mysql后,启动mysql的时候出现
[root@sj-ovz-128 mysql]# service mysqld start
/etc/init.d/mysqld: line 46: /usr/local/mysql: is a directory
/etc/init.d/mysqld: line 47: /home/mysql/data: is a directory
Starting MySQL. ERROR! The server quit without updating PID file (/home/mysql/data/sj-ovz-128.pid).
查看/home/mysql/data 发现有sj-ovz-128.err