Recover MySQL root Password in RHEL/CentOS — TheVKStuff


We can recover MySQL database server password with the following steps. 1.Stop the MySQL service by using below command. service mysqld stop or /etc/init.d/mysqld stop 2.Now Start the MySQL server without password by using mysqld_safe –skip-grant-tables & 3.Now Connect to mysql using mysql -u root command 4. Now Set a new MySQL root user password […]

via Recover MySQL root Password in RHEL/CentOS — TheVKStuff

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s