3

Today Xampp suddenly stopped working.

When I try to start xampp, then mysql is not running:

enter image description here

After browsing for this issue, I found that

sudo service mysql start

should solve it. However, this casuses the error mentioned in the subject line:

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

What happend and how to fix it? I tried to restart my device but the problem remains.

Adam
  • 2,600

1 Answers1

0
sudo service mysql start

This command starts the daemon of mysql if the script to start the daemon is in /etc/init.d But you installed mysql by xampp. So I think it is not there. Please find and invoke the daemon.

MR. ROBOT
  • 166