Home >Database >phpMyAdmin >What is the password for the phpmyadmin account?
The default username and password for PHPMyAdmin are root and empty. For security reasons, it is recommended to change the default password. Method to change password: 1. Log in to PHPMyAdmin; 2. Select "privileges"; 3. Enter the new password and save it. When you forget your password, you can reset it by stopping the MySQL service and editing the configuration file: 1. Add the skip-grant-tables line; 2. Log in to the MySQL command line and reset the root password; 3. Refresh the permission table; 4. Delete skip-grant-tables line, restart the MySQL service.
PHPMyAdmin account password
By default, the PHPMyAdmin account password is as follows:
Username: root
Password: Empty
Note:
How to change PHPMyAdmin password?
Reset PHPMyAdmin Password
If you have forgotten your PHPMyAdmin password, you can reset it by following these steps:
<code>skip-grant-tables</code>
<code>mysql -uroot</code>
<code>UPDATE mysql.user SET Password=PASSWORD("新密码") WHERE User='root';</code>
<code>FLUSH PRIVILEGES;</code>
The above is the detailed content of What is the password for the phpmyadmin account?. For more information, please follow other related articles on the PHP Chinese website!