What should I do if an error appears in
1. As shown in the figure, the error message cannot be connected to the database, indicating that the account and password in the configuration file are wrong and need to be modified;
2. Open your installation directory and find the apps directory;
3. Enter the root directory of phpmyadmin, find and open config.inc.php;
4. Find these two lines:
$cfg['Servers'][$i]['user'] = 'Your database account';
$cfg['Servers'][$i]['password'] = 'Your database password';
The database password is empty by default. I use root for both here. , save;
#5. Refresh the page, and then you can see the homepage of phpmyadmin normally.
The above is the detailed content of What to do if errors are displayed in phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!