Getting MySQL working on OSX 10.7 Lion

后端 未结 6 587
一向
一向 2020-12-12 17:19

I\'m currently trying to get MySQL working on OSX 10.7 Lion. I tried the brew way:

brew install mysql
-> cmake        -> no problems
-> make                 


        
6条回答
  •  生来不讨喜
    2020-12-12 17:55

    I had MySQL installed already, but after upgrading to Lion it would no longer start.

    I tried installing the latest official version and it still wouldn't start.

    Finally, this fixed it:

    $ sudo mkdir /var/log/mysql
    $ sudo chown mysql:mysql /var/log/mysql
    

提交回复
热议问题