MySQL Database cannot start on XAMPP for Mac

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

    #1. Open XAMPP Installation Directory
    #2. Open "etc" Folder
    #3. Find "my.cnf" file and open it in any text editor
    #4. Change Port from 3306 to 3307 (if you have installed skype or other apps)
    #5. Add "innodb_force_recovery=1" under "myisam_sort_buffer_size=8M"
    #6. Save "my.cnf" file
    #7. Restart Mysql Server By Your Terminal by command:
    "sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start" 
    
    You Get A message "Starting MySQL SUCCESS! "
    

提交回复
热议问题