sFixing annot connect to MySQL server on localhost:3306
1. Start your XAMP
2. Start Apache
3. Start Sql
If SQL fail to start then check the log file and get sure the problem is related to the 3306 port connection
It will display this error:
[ERROR] Do you already have another mysqld server running on port: 3306 ?
If it is the case then don’t panic.
4. Start CMD as administrator.
Type: netstat –ao
Search for the PID [Process ID] of the port 3306 of the localhost
Once you find it, in our case it was 664 then type in CMD
Taskkill /F /PID 664
Once the “SUCCESS” is shown in the CMD
Restart your SQL.
For more interesting remember to subscribe.
Support us by likes and cookies.
Xem thêm bài viết: https://kythuatmarketingonline.com/category/cong-nghe