I got a problem with starting my SITE while I working on it.
Error. Command failed: C:\Program Files (x86)\Local\resources\extraResources\lightning-services\mysql-8.0.16+6\13…\mysqladmin.exe ping ❑mysqladmin: connect to server at ‘::1’ failed error ‘Can’t connect to MySQL server on ‘::1’ (10061)’ Check that mysqld is running on ::1 and that the port is 10013. You can check this by doing lelnet ::1 10013’
at ChildProcess.exithandler (node:child_process:407:12) at ChildProcess.emit (node:events:527:28) at ChildProcess.emit (node:domain:475:12) at maybeClose (nodeinternalichild_process:1092:16) at ChildProcess._handle.onexit (nodeinternalichild_process:302:5)
ATTENTION: you can notice how it says 'can’t connect to port 10061 while suggesting to check port 10013.
telnet ::1 10013 (impossible to establish a connection)
from site.json (AppData/Roaming/Local)
{"S900A8c1G":{"name":"xxx","domain":"xxx.local","path":"C:\\Users\\xxx\\Local Sites\\xxx","environment":"flywheel","multiSite":"","customOptions":{},"xdebugEnabled":false,"workspace":null,"mysql":{"database":"local","user":"xxx","password":"xxx"},"ports":{},"hostConnections":null,"id":"S900A8c1G","localVersion":"7.0.1+6387","services":{"mailhog":{"name":"mailhog","version":"1.0.0","type":"lightning","ports":{"WEB":[10007],"SMTP":[10008]}},"php":{"name":"php","version":"8.1.9","type":"lightning","role":"php","ports":{"cgi":[10013]}},"nginx":{"name":"nginx","version":"1.16.0","type":"lightning","role":"http","ports":{"HTTP":[10011]}},"mysql":{"name":"mysql","version":"8.0.16","type":"lightning","role":"db","ports":{"MYSQL":[10013]}}}}}
I did try to:
I did try to restart, open just Local and closing everything other program, with no luck.
unistall and install Local again, not working.
Cloning the site, worked but after a while I got same issue on the cloned site.
It seems very random, I can’t find the exact way to replicate the issue.
I CAN create a new plain wordpress website working fine (for how long I wonder).
Windows 11 Pro
Local 7.0.1+6387
PHP 8.1.9
NGINX
MYSQL 8.0.16
WODPRESS 6.2.2
MULTISITE NO
SSL TRUSTED
local-logs4.zip (8.9 KB)
I noticed that even if I don’t have any mysql connection open because the site won’t start, the activity manager shows within Local 2 processes mysqld.exe that appear and disappear every second.
I have no idea if this is considered normal or not.
- appearing
- disappearing
I really need some help because I don’t know what to do.
thank you!