PID error on mysql.server start?

后端 未结 7 1574
名媛妹妹
名媛妹妹 2020-12-01 03:19

I\'ve just tried installing MySQL using homebrew (on Mac OS X 10.6), but I\'ve run across an issue at the first hurdle. When trying to manually start the server (mysql.serve

7条回答
  •  既然无缘
    2020-12-01 03:58

    Nothing else really helped, but the following worked:

    $ ps aux | grep mysql
    tagir           27260   0.0  1.0  3562356 175120   ??  S     2:52PM   0:00.42 mysqld --skip-grant-tables
    tagir           42704   0.0  0.0  2434840    784 s000  S+    3:04PM   0:00.00 grep mysql
    $ kill 27260
    # Careful! This might erase your existing data
    $ rm -rf /usr/local/var/mysql
    $ mysqld --initialize
    $ mysql.server start
    

提交回复
热议问题