Can't Connect to MySQL server

What issue or error are you experiencing?

I receive this error message when i try to start my site. I had no issues launching earlier and I don’t believe I’ve changed any settings since then, is there a simple fix for this?


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

System Details

  • Local Version: 7.1.0

  • Windows 10 64 bit:

Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)

Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @kevinho

Are you running other developer applications simultaneously? That could also cause similar issues. Apps like MAMP, XAMPP, or Docker for example.

Do you have any antivirus, security, or firewall applications that could be blocking Local?

More details about troubleshooting this here: Router Mode

If you’re still having trouble please share your Local Log.

Retrieving Local’s Log File

Hi Nick,

Thanks for the reply, I don’t have WAMP or Virtual Box on my PC anymore, I do have an antivirus but that was on when the site was working initially, the problem seems to have disappeared after signing out and signing back in but thank you for the link to the router mode post i’ll keep it in mind if the problem comes back.

Glad to hear you got things working again! If you have any other questions or concerns don’t hesitate to reach back out. We are always happy to help! Happy Developing :green_heart:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.