Reputation: 2619
I am currentley trying to start mysql in safe mode to recover the password for root.
I am following this guide here:
Here is the error I get:
I have also tried
sudo service mysql stop
Upvotes: -1
Views: 1438
Reputation: 781
You can reset the password for the root user by using this command.
sudo dpkg-reconfigure mysql-server-*
mysql-server version is what version you have installed.
You can try pressing tab for options.
Upvotes: 2
Reputation: 61
Your error means that one mysql server is already started on your computer when you try to start another one in safe mode. First shutdown previous instance of mysql server.
Upvotes: 0