mySQL server in XAMP don't start

后端 未结 6 1428
失恋的感觉
失恋的感觉 2021-01-12 21:30

I read all of articles about my problem but it still not working

How can I solve this issue?

Here is my log file:

2015-11-10 15:26:56 10fc          


        
6条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-12 22:21

    I ran into this same issue when I had MySQL Workbench and XAMPP downloaded. Since they're both trying to access Port 3306 an error occurs. I'm running this on Windows 10, I'm not sure if this fix also works on Mac & Linux. I changed the port of XAMPP to 3307 and left the MySQL untouched. Here's how I did that: *Take into consideration that the line numbers may be different on your system.

    1. In the XAMPP GUI click on "Config" -> "Service and Port Settings" -> "MySQL" tab -> Change Main Port to 3307 -> Save -> Save

    2. Locate the installation file for XAMPP -> open MySQL folder -> open bin folder -> right click on "my.ini" and edit it

    3. Change the following lines: (Line 20) Port = 3306 -> Port = 3307 (Line 28) Port = 3306 -> Port = 3307

    Save the file, restart your computer, and the server should run.

提交回复
热议问题