MySQL won't start on XAMPP server

后端 未结 11 1691
一生所求
一生所求 2020-12-19 03:19

I have a problem with my XAMPP server. I can start Apache, FileZilla, and every thing else without problems, but when I try to start MySQL, it just says

相关标签:
11条回答
  • 2020-12-19 03:46

    I fetch the problem to start xampp services "mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files"

    I delete all area_log files form xampp\mysql\data

    after that I restart XAMPP than it works.

    Thanks

    0 讨论(0)
  • Perform

    which mysql.server
    
    sudo path/to/mysql.server start
    

    This should work on *nix OS

    eg sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start for mac osx

    0 讨论(0)
  • 2020-12-19 03:49

    Resolve the issue stopping the mysql process in the activity monitor and then restarting the mysql server from within the xampp UI.

    0 讨论(0)
  • 2020-12-19 03:51

    Though this is late, I'm sure it would help someone in future.

    1. First run which mysql.server to know where mysql is located on your machine. After then run sudo /usr/local/bin/mysql.server stopto be sure that no other mysql process is running. If no other process is running, you would definitely get an error saying MySQL server PID file could not be found!. That's fine.

    2. After then run sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start to start Xampp's mysql server. When you go to the Xampp GUI, you should see that mysql status as running.

    Please note that this is for OS X users.

    0 讨论(0)
  • 2020-12-19 03:54

    I was not able to start Mysql on xampp. Error message was:-

    Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files. Plugin 'Aria' init function returned error. Plugin 'Aria' registration as a STORAGE ENGINE failed. Plugin 'FEEDBACK' is disabled. Aria engine is not enabled or did not start. The Aria engine must be enabled to continue as mysqld was configured with --with-aria-tmp-tables. Aborting.

    Just to go xampp/mysql/data and delete or remove the file related to aria_log and restart your xampp server. Worked fine for me.

    0 讨论(0)
  • 2020-12-19 03:56

    Check the log files for MySQL. You will find them in this directory: C:\xampp\mysql\data (assuming standard install location of xampp)

    Also check if no other program or service uses the default MySql port. You can do this by using this command:

    netstat -an | findstr "3306"
    

    If anything shows up the default mysql port is in use.

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