Home  >  Article  >  Database  >  What should I do if a 2002 error occurs in phpmyadmin?

What should I do if a 2002 error occurs in phpmyadmin?

coldplay.xixi
coldplay.xixiOriginal
2020-07-20 10:01:323903browse

phpmyadmin 200 error solution: First find the file [config.default.php]; then change [$cfg['Servers'][$i]['host']='localhost'] to 【127.0.0.1】;Finally close the browser and log in.

What should I do if a 2002 error occurs in phpmyadmin?

Solution to phpmyadmin 200 error:

1. Find the # under the "phpMyAdmin/libraries" folder ##config.default.phpFile

2. Find

$cfg['Servers'][$i]['host'] = 'localhost'; 

3 in the file and modify it to

$cfg['Servers'][$i]['host'] = '127.0.0.1';

4. Close the browser and try again Just log in and that’s it.

Related tutorial recommendations:

phpmyadmin

The above is the detailed content of What should I do if a 2002 error occurs 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