VPS侦探论坛

 找回密码
 注册
查看: 7435|回复: 1

sos!mysql启动不了了

[复制链接]
发表于 2011-5-30 12:20:01 | 显示全部楼层 |阅读模式

# /etc/rc.d/init.d/mysql start
Starting MySQL. ERROR! Manager of pid-file quit without updating file.


这是日志:
110530 12:07:53 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110530 12:07:53 mysqld_safe mysqld from pid file /usr/local/mysql/var/li161-96.pid ended
110530 12:09:53 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110530 12:09:53 [Warning] The syntax '--skip-locking' is deprecated and will be removed in a future release. Please use --skip-external-locking instead.
110530 12:09:53 [ERROR] /usr/local/mysql/libexec/mysqld: unknown variable '/*binlog_format=mixed*/'
110530 12:09:53 [ERROR] Aborting

110530 12:09:53 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110530 12:09:53 mysqld_safe mysqld from pid file /usr/local/mysql/var/li161-96.pid ended
110530 12:10:10 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
110530 12:10:10 [Warning] The syntax '--skip-locking' is deprecated and will be removed in a future release. Please use --skip-external-locking instead.
110530 12:10:10 [ERROR] /usr/local/mysql/libexec/mysqld: unknown variable '/*binlog_format=mixed*/'
110530 12:10:10 [ERROR] Aborting

110530 12:10:10 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

110530 12:10:10 mysqld_safe mysqld from pid file /usr/local/mysql/var/li161-96.pid ended

请帮帮我吧
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-5-30 13:08:40 | 显示全部楼层


修改/etc/my.cnf 将
--skip-locking 替换为 --skip-external-locking

你应该还修改过mysql的日志。/*binlog_format=mixed*/ 这么改出错了。

https://www.vpser.net/manage/del ... -bin-0000-logs.html 修改。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-20 17:23 , Processed in 0.024991 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表