Jump to content

I am sure 90% you can't see mysql root password. If you do not remember you can change it.

service mysql stop
mysqld_safe --skip-grant-tables &
mysql -u root

mysql> use mysql;
mysql> update user set password=PASSWORD("YOUR-NEW-ROOT-PASSWORD") where User='root';
mysql> flush privileges;
mysql> quit

service mysql stop
service mysql start
mysql -u root -p

Computer users fall into two groups:
those that do backups
those that have never had a hard drive fail.

Link to comment
https://linustechtips.com/topic/571492-linux-centos-6-script/#findComment-7506863
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×