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