Warning the user/local/mysql/data directory is not owned by the mysql user

前端 未结 2 1023
别那么骄傲
别那么骄傲 2020-12-12 09:09

I can\'t start the mysql service in Snow Leopard, and in the panel prefs appears the message,

warning the user/local/mysql/data directory is not owned

2条回答
  •  忘掉有多难
    2020-12-12 09:53

    If you can't start mysql service in snow leopard, and in the panel prefs appears 'warning the user/local/mysql/data directory is not owned by the mysql user', you have to:

    • sudo chown -RL root:mysql /usr/local/mysql
    • sudo chown -RL mysql:mysql /usr/local/mysql/data
    • sudo /usr/local/mysql/support-files/mysql.server start

提交回复
热议问题