MySQL Database cannot start on XAMPP for Mac

前端 未结 8 834
执笔经年
执笔经年 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

    I spent whole day trying to resolve this issue. Changing the port no from 3306 to 3307 worked for me. Simply open the configure module and change the port number. Hope it works for you.

    0 讨论(0)
  • 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
    0 讨论(0)
提交回复
热议问题