This article describes how to use phpMyAdmin to modify the password of the root user of the MySQL database. For more information, see click the SQL tab at the top to enter the SQL command input interface. Enter the following command: Code: updatemysql. usersetpasswordPASSWORD (jb51 $123456) whereuserroot; then click
This article describes how to use phpMyAdmin to modify the password of the root user of the MySQL database. For more information, see click the SQL tab at the top to enter the SQL command input interface. Run the following command: update mysql. user set password = PASSWORD ('jb51 $123456 ') where user = 'root'; then click
This article describes how to use phpMyAdmin to modify the root user password of a MySQL database. For more information, see
Click the "SQL" tab on the top to enter the SQL command input interface. Enter the following command:
The Code is as follows: update mysql. user set password = PASSWORD ('jb51 $123456 ') where user = 'root ';
Click "execute" in the lower-right corner. If no error is reported, the modification is successful.
In addition, if you modify the root password, you need to modify the password in the phpMyAdmin configuration file. Otherwise, you cannot log on.
Find
The Code is as follows: $ cfg ['servers'] [$ I] ['Password'] = '';
Change
The Code is as follows: $ cfg ['servers'] [$ I] ['Password'] = 'jb51 $123456 ';
Click "execute" in the lower-right corner. The following page is displayed, indicating that the modification is successful. (Note: The number of columns affected by some mysql instances is not 2)