MySQL Database cannot start on XAMPP for Mac

前端 未结 8 840
执笔经年
执笔经年 2021-02-08 13:03

All of a sudden I am encountering this problem on my mac. I cant start my MySQL Database. I can only start my ProFTPD and Apache Web Server.

This is the application log:

8条回答
  •  情话喂你
    2021-02-08 14:04

    In case this may help. I followed all the steps above still nothing worked for me. And I follow this article MySQL database won't start in xampp and it worked. what is says is:

    Steps

    1. Open terminal and type

      sudo su

      and then put in your password

    2. Then type

      ps aux | grep mysql
    3. You will need to get the process id of mysql. There should be number near the top, something like 739 or 8827 (in my case I got 74689, just look after mysql or _mysql process id)

    4. Kill the process using

      kill -9 {process id}

      this should look something like this: kill -9 739

    5. Restart MySQL in manager-osx

    If any of the above don’t work, This should work:

    sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start

提交回复
热议问题