1. Open the mysql console of phpStudy, and it will prompt you to enter the password. The password will be blank at first, just press Enter
2. Enter [use mysql], console Prompt【Database changed】
3. Enter update user set password=PASSWORD('password to be modified') where user='root';
Console prompt【Query OK ,XXXXXXXXX]
4. Finally enter [flush privileges;] and submit.
Recommended tutorial: phpstudy usage tutorial
The above is the detailed content of phpstudy error logging into phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!