一个 mysqld_safe 无法启动问题

安装了一些程序之后,突然mysql server不正常停止,就再也无法起来了。手动启动,也一直失败,错误如下:
server:/home/apache# mysqld_safe
nohup: ignoring input and redirecting stderr to stdout
Starting mysqld daemon with databases from /var/lib/mysql
mysqld_safe[900]: started
STOPPING server from pid file /var/run/mysqld/mysqld.pid
mysqld_safe[906]: ended


后来发现原来/etc/mysql/my.cnf多了如下几行:
# The FEDERATED storage engine is disabled since 5.0.67 by default in the .cnf files
# shipped with MySQL distributions (my-huge.cnf, my-medium.cnf, and so forth).
#
skip-federated
#


结果把skip-federated注释掉就可以了,好晕人。然后我的服务器版本是:
server:/usr# mysqld --version
mysqld  Ver 5.0.51a-3 for debian-linux-gnu on i486 ((Debian))
server:/usr#


貌似版本问题,总之是解决了…折腾啊

你可能感兴趣的:(apache,mysql,linux,Debian)