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

What to do if errors are displayed in phpmyadmin

藏色散人
Release: 2020-04-06 09:57:55
Original
3490 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template