I’m trying to create a site on Parrot
OS using Local by Flywheel, but I’m running into an issue with MySQL.
When I try to create the site, I get the following error:
ERROR
Error: Command failed: /home/ farrukh/.config/Local/lightning-services/mysql-8.0.16+6/bin/ linux/bin/mysqladmin ping mysqladmin: connect to server at
‘localhost’ failed
error: ‘Can’t connect to local MySQL server through socket ‘/ home/farrukh/.config/Local/run/ SOLZAKffN/mysql/mysqld.sock’
(2) ‘
Check that mysqld is running and that the socket: ‘/home/ farrukh/.config/Local/run/ SOLZAKFfN/mysql/mysqld.sock’
exists!
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:517:28)
at maybeClose
(node: internal/ child
_process: 1098:16)
at Socket.
(node: internal/
child_process:450:11)
at Socket. emit
(node:events:517:28)
at Pipe. ‹anonymous >
(node:net: 350:12)
Environment:
• OS: Parrot OS
• MySQL Version: 8.0.16
• Installed via: Local by Flywheel (Lightning Services)
Why is this error occurring, and how can I fix it to successfully create a site?
I asked GPT and started the mysql service using “sudo service mysql start” but didn’t resolve
coder gulfarrukh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.