Mysql suddenly stopped working. Using XAMPP VM on mac

326 Views Asked by At

Suddenly mysql stopped working. I use XAMPP VM on mac. I'm pretty new to both mac and XAMPP VM.

Previously used XAMPP on Windows.

In the browser (localhost:8080/phpmyadmin) displays "Unable to connect: invalid settings!

The command sudo service mysql start

in the VM terminal gives

Failed to start mysqld.service: Unit mysqld.service not found.

The command mysql -u root -p gives

"Can not connect to local MySQL server through socket".

0

There are 0 best solutions below