MySQL Database won't start in XAMPP Manager-osx

后端 未结 30 1253
暗喜
暗喜 2020-12-04 05:26

I downloaded XAMPP about a month ago and it was working just fine. Today I installed a voice recognition software and then restarted my computer. Ever since, MySQL won\'t st

相关标签:
30条回答
  • 2020-12-04 05:38

    if you are getting this error

    .............ERROR! The server quit without updating PID file 
    

    Try this

    Go to /Applications/XAMPP/xamppfiles/var/mysql/

    if there is no file with the name Your_Username.local.pid

    Your_Username should replace with your Mac Username

    Create a file with this name

    Then try

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

    its worked for me

    0 讨论(0)
  • 2020-12-04 05:40

    It might be the possibility that your voice recognition software has a installer of mysql internally and when u installed this software, it has installed mysql too and added it to the service and this mysql service starts once your system starts. So now u r having two mysql servers (one from voice recognition software and second is from XAMPP) that's why killing the previous process (mysql service) solved your problem. But this is not a permanent solution, you have to repeat it every time when ever you start your machine. So better is to find out that mysql server (service) and change its port no. OR change settings so that mysql service should not start when your machine start (but might be your voice recognition software won't work properly)

    I hope it will help you.

    Cheers

    0 讨论(0)
  • 2020-12-04 05:41

    This should work:
    sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start

    0 讨论(0)
  • 2020-12-04 05:42
    sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start    
    

    This worked for me.

    0 讨论(0)
  • 2020-12-04 05:42

    It had the same problem, all I did was give read-only permissions for ALL users (system included) and all items included in the following folders:

    /Applications/XAMPP/xamppfiles/etc
    /Applications/XAMPP/xamppfiles/sbin
    

    and relaunch XAMPP control and launch mysql server again or

    sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start   
    
    0 讨论(0)
  • 2020-12-04 05:43

    What I did was the following: In XAMPP Control Panel I edited the my.ini file of configuration of MySql and changed the port from 3306 to 3307 and it worked, hope it helped!

    Edit: after you save this changes be sure that the service is off and then restart the service. I had this same problem when I installed MySQL, it's just the port.

    0 讨论(0)
提交回复
热议问题