Starting MySQL....The server quit without updating PID file 处理方法
2012-02-17 15:14
302 查看
报错:
Starting
MySQL....The server quit without updating PID file ...
查看错误日志
情景1:
120217
15:09:57[ERROR] Can't start server : Bind on unix socket: No such file or directory
120217 15:09:57[ERROR]
Do you already have another mysqld server running on socket: /mysql/mysqldir/data/mysql.sock ?
120217 15:09:57[ERROR]
Aborting
于是ps
-ef | grep mysql 一把.未发现有mysqld.
netstat
-an | grep 3306 一把.也未发现异常.
检查/etc/my.cnf中的socket的配置项,确定mysql.sock的文件位置是否正确。
最后从mysql安装目录下重新复制一个配置文件到/etc/my.cnf
修改相应参数.于是问题解决
情景2:
/mysql/mysqldir/bin/mysqld:
Table 'mysql.plugin' doesn't exist
[ERROR]
Can't open the mysql.plugin table. Please run my sql_upgrade to create it.
原因:编译安装后忘记初始化表.
解决:运行mysql_install_db
Starting
MySQL....The server quit without updating PID file ...
查看错误日志
情景1:
120217
15:09:57[ERROR] Can't start server : Bind on unix socket: No such file or directory
120217 15:09:57[ERROR]
Do you already have another mysqld server running on socket: /mysql/mysqldir/data/mysql.sock ?
120217 15:09:57[ERROR]
Aborting
于是ps
-ef | grep mysql 一把.未发现有mysqld.
netstat
-an | grep 3306 一把.也未发现异常.
检查/etc/my.cnf中的socket的配置项,确定mysql.sock的文件位置是否正确。
最后从mysql安装目录下重新复制一个配置文件到/etc/my.cnf
修改相应参数.于是问题解决
情景2:
/mysql/mysqldir/bin/mysqld:
Table 'mysql.plugin' doesn't exist
[ERROR]
Can't open the mysql.plugin table. Please run my sql_upgrade to create it.
原因:编译安装后忘记初始化表.
解决:运行mysql_install_db
相关文章推荐
- Starting MySQL....The server quit without updating PID file 处理方法
- mysql启动时报错:Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid) 的解决方法
- Starting MySQL. ERROR! The server quit without updating PID file”如何处理
- mysql报错“Starting MySQL...The server quit without updating PID file”处理
- mysql启动时报错:Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid) 的解决方法
- Centos6 下 Mysql启动提示 Starting MySQL. ERROR! The server quit without updating PID file
- [解决方法]MySql提示:The server quit without updating PID file(…)失败
- Starting MySQL.The server quit without updating PID file (xxxx.pid).[FAILED]
- mysql服务启动失败 Starting MySQL. ERROR! The server quit without updating PID file
- [解决方法]MySql提示:The server quit without updating PID file(…)失败
- Starting MySQL. ERROR! The server quit without updating PID file (/longxibendi/mysql/mysql.pid).
- mysql启动不成功显示The server quit without updating PID file的解决方法
- MySQL: Starting MySQL….. ERROR! The server quit without updating PID file解决办法
- MySQL: Starting MySQL….. ERROR! The server quit without updating PID file解决办法
- mysql服务启动失败 Starting MySQL. ERROR! The server quit without updating PID file
- mysql启动报错:Starting MySQL... ERROR! The server quit without updating PID file
- Starting MySQL. ERROR! The server quit without updating PID file
- [解决方法]MySql提示:The server quit without updating PID file(…)失败
- [解决方法]MySql提示:The server quit without updating PID file(…)失败
- Starting MySQL.The server quit without updating PID file (/var/lib/mysql/localhost.jeep.pid)