這裏是我的困境(在某種程度上類似於this resource和我什麼都試過,但沒有任何幫助):服務啓動mysql失敗ubuntu上
[email protected]:~# service mysql status
mysql start/running
當我在尋找的過程:
[email protected]:~# ps ax | grep mysql
2263 pts/0 S+ 0:00 grep --color=auto mysql
我查了日誌和/var/log/mysql/error.log
是空的,但奇怪的東西在/var/log/syslog
...
[email protected]:~# grep mysql /var/log/syslog
...
Dec 8 15:24:17 vuxomys01 init: mysql post-start process (1963) terminated with status 1
Dec 8 15:24:17 vuxomys01 kernel: [ 460.182640] type=1505 audit(1323375857.580:28): operation="profile_replace" pid=2098 name="/usr/sbin/mysqld"
Dec 8 15:24:17 vuxomys01 init: mysql main process (2102) terminated with status 1
Dec 8 15:24:17 vuxomys01 init: mysql main process ended, respawning
Dec 8 15:24:47 vuxomys01 init: mysql post-start process (2103) terminated with status 1
...和/var/log/daemon.log
[email protected]:~# grep mysql /var/log/daemon.log
...
Dec 8 15:24:17 vuxomys01 init: mysql post-start process (1963) terminated with status 1
Dec 8 15:24:17 vuxomys01 init: mysql main process (2102) terminated with status 1
Dec 8 15:24:17 vuxomys01 init: mysql main process ended, respawning
Dec 8 15:24:47 vuxomys01 init: mysql post-start process (2103) terminated with status 1
任何其他的想法將非常感激。提前致謝!
- 尤金。
您可以請列出發行版,版本和安裝mysql的方式 – hafichuk
此問題應該遷移到serverfault。 – hafichuk
Unbe-f ...-宜居!這是my.cnf中的問題,這是在「被character_set_server = UTF8」 :(反正缺少一個「H」,感謝意向 – eistrati