Starting MySQL. ERROR! Manager of pid-file quit without updating file

Starting MySQL. ERROR! Manager of pid-file quit without updating file.安装过程中启动 MySQL 出现Star

Starting MySQL. ERROR! Manager of pid-file quit without updating file.
安装过程中启动 MySQL 出现
Starting MySQL. ERROR! Manager of pid-file quit without updating file.

解决方法:
1.修改 my.cnf  (没有指定数据库文件目录)
在[mysqld] 下添加
datadir = /usr/local/mysql/var
问题解决