Failed download a module and Can't start site MYSQL connection error

What issue or error are you experiencing?

The error message when starting a new site is the same as this topic:
https://comunity.localwp.com/t/cant-start-mysql-connection-error/37762
Besides, before in the logs, there is this line that reports a failed download of a module
Preformatted text{“class”:“DownloaderQueue”,“level”:“error”,“message”:“error when trying to download https://cdn.localwp.com/site-services-lightning/php/8.1.23+0/bin-win64-8.1.23.tar.gz",“thread”:“main”,“timestamp”:"2024-04-03T23:17:09.542Z”}

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

I tried to run a telnet -P 10003 on localhost : failed. In fact even for a ‘cli-normal’ telnet I get the message FATAL ERROR: network error, connection refused from powershell.
So it can be because of network… but I am without other ideas to troubleshot.
I disactivated firwall windows and antivirus avira but it had no effect


System Details

  • Local Version:

nginx 8.1.23
MySQL 8.0.16

Jan 2024

  • Operating System (OS) and OS version:
    Windows 10

Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
local-lightning-verbose0.log (235.1 KB)

To Nick-B for my previous message this afternoon, I excuse myself for inserting to an existing topic. Actually there was no problem for connecting to the forum!
Thanks a lot


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 @tournesol59

Are you able to create a new, blank site in Local? Or does this happen with any sites?

Does changing your Router Mode make any difference? Preferences>Advanced>Router Mode

For us to be able to troubleshoot thoroughly, please click the Download Local Logs button from the Support tab in Local. This will generate a zip archive that contains the Local log along with some other diagnostic information to help quickly zero in on any issues that Local is encountering.

I enclosed the local log. I have downloaded it a new time.

local-lightning-verbose0.log (268.6 KB)
I am sorry I will be absent for three hours. After I will retry.
Thanks a lot

It looks like you’ve provided the same Local Log and not the one requested. Let us know how your further testing goes. Please refer to our guide here if you want to provide the rest of your logs for us to review later.

Retrieving Local’s Log File

Thanks for your response. I return to the forum since I have no ideas except try to reinstall. I think there is a misunderstanding about the Local’s log. I have performed the two different download operation and I got the same file content local-lightning-verbose0.log, what type of content you are expected for?
In general, are installation from a Linux virtual machine (which is not my actual case) recommended, (for network administration)?

Hi @tournesol59

A couple other things to check:

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?

If you do want to refresh here and start with a clean slate could you give the below troubleshooting steps a try:

  • Export any sites that you have on Local and save them to a folder somewhere on your computer.

  • Fully uninstall Local from your computer.

  • Install the latest version of Local on this link.

  • Once installed, please restart the computer.

  • When the computer is restarted and turned on, close any applications that automatically run in the background (AntiVirus, Firewall, and other Developer applications included).

  • Check and see if the issue still persists. If so, please provide us with an updated log. Retrieving Local’s Log File

Keep us posted and we’d be happy to help further!