MySQL is an open source database software which is used for storing data. Some time we need to run MySQL Server on safe mode. Please follow the below commands one by one to run MySQL server on safe mode.
1) First of all you have to stop MySQL Server.
sudo /etc/init.d/mysql stop
2) Now you have to kill all MySQL id by following command.
killall mysqld
3) Now run the following command to start MySQL server in safe mode using the --skip-grant-tables option. This command will start MySQL in safe mode.
mysqld_safe --skip-grant-tables&
4) Now, restart your MySQL
sudo /etc/init.d/mysql start
Hope this helps you, in case you have any questions please feel free to ask in comments.
0 Comment(s)