启动mysqld 报错
[root@localhost ~]# service mysqld start
Starting MySQL.Logging to ‘/etc/mysql/localhost.localdomain.err‘.
.... ERROR! The server quit without updating PID file (/etc/mysql/localhost.localdomain.pid).
解决方法:
是/etc/my.cnf 文件 的datadir=/etc/mysql 改为 datadir=/data/mysql
启动mysql报错
原文:http://blog.51cto.com/461565/2136225