MySQL 服务器启动错误“服务器退出而不更新 PID 文件"

Mac OS X v10.6 (Snow Leopard) 上,启动 MySQL 会得到以下结果错误:

On Mac OS X v10.6 (Snow Leopard), starting MySQL gives the following error:

服务器退出而不更新PID文件

The server quit without updating PID file

文件 my.cnf

[mysqld]
port            = 3306

socket          = /tmp/mysql.sock

skip-external-locking

key_buffer_size = 16K

pid-file=/var/run/mysqld/mysqld.pid

[mysqld_safe]

log-error=/var/log/mysqld.log

pid-file=/var/run/mysqld/mysqld.pid



 1 条回答