Home > Article > Backend Development > phpmyadmin login 1045 error
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 both here. root, save;
#5. Refresh the page. At this time, you can see the homepage of phpmyadmin normally.
Recommended tutorial: PHP video tutorial
The above is the detailed content of phpmyadmin login 1045 error. For more information, please follow other related articles on the PHP Chinese website!