I’m trying to manually import a site, but when I open the site shell and enter the string to import the database, I get- “Can’t connect to MySQL server on ‘localhost’ (10061)'” error. The database is in the correct location according to the documentation. I do not have MySQL installed on my computer, but assumed that is part of local, no?
There might be something else blocking or interrupting Local here.
Do you have any antivirus, security, or firewall applications that could be blocking Local?
Are you running other developer applications simultaneously? That could also cause similar issues. Apps like MAMP, XAMPP, or Docker for example.
Can you share your Local Logs with us if you’re still having trouble? There are some different ways to access and share Local Logs. 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.
Thanks for responding Nick. I have no other services running besides Norton anti virus. I I’ll disable and try again. I’ll also download the logs and post them. Question tho, do i need MySQL installed on my computer, or is it included in the Local App?
Hello. As requested, please find Local Logs. I also disabled the Norton anti-virus/firewall but that had no affect. Please note below errors. The first error is what I get in the shell if I name the .sql file without the .sql extension and the 2nd error is what I get if I add the .sql extension to the file name. Not sure it has any bearing on the issue, but thought I’d put it out there.
Named without .sql extension:
Error: Failed to get current SQL modes. Reason: ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)
Named with .sql extension:
Error: Import file missing or not readable: carvedinblue.sql
The website is privately hosted. I exported the database through MyPhpAdmin. I then downloaded the wp-content folder using FileZilla with ftp connection.