1. After successful installation, enter mysql through phpmyadmin, click the [User] menu above, click Edit Permissions on the user [root] host [localhost], there is an option [Change Password] below, enter the password you want, such as :123456.
2. Now the mysql password has been changed successfully. But phpmyadmin cannot communicate with mysql yet. So below we modify the phpmyadmin configuration file.
3. Enter the wampserver installation directory, such as C:/wamp/apps/phpmyadmin3.5.1
4. Open the config.inc.php file. Modify about 16 lines of code $cfg['Servers'][$i]['password']='your modified password', such as: 123456
5. Then enter the directory and open C:/wamp/apps/phpmyadmin3 .5.1/libraries/config.default.php file, modify about 215 lines of code $cfg['Servers'][$i]['password'] = 'Password you modified'; such as 123456
Restart wampserver. The password has been changed successfully
The above introduces the steps for changing the Mysql password with WampServer, including the content of wampserver. I hope it will be helpful to friends who are interested in PHP tutorials.