1. after the installation is successful, go to mysql through phpmyadmin, click the user menu above, and click Edit permission on the user root host localhost. The following is an option to change the password ], enter the password you want, for example, 123456.
2. Now the mysql password has been modified successfully. However, phpmyadmin cannot communicate with mysql. So next we will 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 password', for example: 123456
5. then go to 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'] = 'your password'; for example, 123456
Restart wampserver. The password has been modified.