can't start MySql in Mac OS 10.6 Snow Leopard

后端 未结 16 2571
灰色年华
灰色年华 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:25

    open Terminal

    cd /usr/local/mysql/support-files
    sudo nano mysql.server

    Find the lines:

    basedir=
    datadir=

    change them to

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

提交回复
热议问题