Home  >  Article  >  Database  >  What to do if errors are displayed in phpmyadmin

What to do if errors are displayed in phpmyadmin

藏色散人
藏色散人Original
2020-04-06 09:57:553451browse

What should I do if an error appears in

What to do if errors are displayed in phpmyadmin

phpmyadmin?

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;

What to do if errors are displayed in phpmyadmin

2. Open your installation directory and find the apps directory;

What to do if errors are displayed in phpmyadmin

3. Enter the root directory of phpmyadmin, find and open config.inc.php;

What to do if errors are displayed in phpmyadmin

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;

What to do if errors are displayed in phpmyadmin

#5. Refresh the page, and then you can see the homepage of phpmyadmin normally.

What to do if errors are displayed in phpmyadmin

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn