This was also raised here
Uh-Oh! unable to start site PLS HELP! - Support - Local Community
there’s an error trying to connect to or create a new site
What issue or error are you experiencing?
amysqladmin: connect to server at '::1' failed
error: 'Can't connect to MySQL server on '::1:10005' (10061)'
Check that mysqld is running on ::1 and that the port is 10005.
You can check this by doing 'telnet ::1 10005'
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:303:5)
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
install latest local on Windows 11
try connect or create a site
System Details
-
Local Version:
Version 9.2.0+6762 -
Operating System (OS) and OS version:
Windows 11 Home 24H2
Local Logs
Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
local-lightning.log (8.4 KB)
running mysqld we can see the “data” folder doesn’t exist in the mysql installation and the file can’t be written eg
[MY-010091] [Server] Can't create test file C:\Users\jmp90\AppData\Roaming\Local\lightning-services\mysql-8.0.35+0\bin\win64\data\mysqld_tmp_file_case_insensitive_test.lower-test
also if we create the “data” folder manually and run mysqld again we then get this error
mysqld: Can't open shared library 'C:\Users\jmp90\AppData\Roaming\Local\lightning-services\mysql-8.0.35+0\bin\win64\lib\plugin\component_reference_cache.dll' (errno: 126 The specified module could not be found.)
mysqld: Cannot load component from specified URN: 'file://component_reference_cache'.
there is no “lib” folder within
AppData\Roaming\Local\lightning-services\mysql-8.0.35+0\bin\win64