mac os mysql啓動報錯 Can't open the mysql.plugin table

 Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!

我第一次用sudo mysqld start啓動的時候,報錯是上面那個,我查了一下stackoverflow發現,mac下的啓動要用mysql.server 那個命令

但是我之後使用sudo mysql.server那個命令,又報錯

[ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2014-01-31 00:03:03 13223 [Note] InnoDB: The InnoDB memory heap is disabled

查了一下,發現是文件權限問題
具體回答見
http://stackoverflow.com/questions/21470193/mysql-server-start-issues-on-mavericks

這個

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章