can't start MySql in Mac OS 10.6 Snow Leopard

后端 未结 16 2587
灰色年华
灰色年华 2020-12-04 13:11

I\'ve googled this and could\'nt find anything new and useful for Apple\'s new OS SnowLeopard. I wonder if this is my mistake or I do need to do something?

this is w

16条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-04 13:20

    1. Change the following to the file /usr/local/mysql/support-files/mysql.server the follow lines:

      basedir="/usr/local/mysql"
      
      datadir="/usr/local/mysql/data"
      

      and save it.

    2. In the file /etc/rc.common add the follow line at end: /usr/local/mysql/bin/mysqld_safe --user=mysql &

提交回复
热议问题