一個 mysqld_safe 無法啓動問題

安裝了一些程序之後,突然mysql server不正常停止,就再也無法起來了。手動啓動,也一直失敗,錯誤如下:
[code]
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
[/code]

後來發現原來/etc/mysql/my.cnf多瞭如下幾行:
[code]
# 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
#
[/code]

結果把skip-federated註釋掉就可以了,好暈人。然後我的服務器版本是:
[code]
server:/usr# mysqld --version
mysqld Ver 5.0.51a-3 for debian-linux-gnu on i486 ((Debian))
server:/usr#
[/code]

貌似版本問題,總之是解決了…折騰啊
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章