Home >Backend Development >PHP Tutorial >Troubleshooting: Problems with PHPMyAdmin connecting to MYSQL_PHP Tutorial

Troubleshooting: Problems with PHPMyAdmin connecting to MYSQL_PHP Tutorial

WBOY
WBOYOriginal
2016-07-13 17:29:51794browse

I installed a system today, the debian etch version, and mysql are all configured, but when I use phpmyadmin 2.11.0 to connect to mysql, there are always prompts

#1045 - Access denied for user root@localhost (using password: YES) is wrong, but the password is obviously correct and there is no problem in the command line.

In this case, phpmyadmin uses [auth_type] = http; which is fine, but why not cookies? Later, I guessed that there was something wrong with PHP's Session processing? From the session file of /var/lib/php5, I found that the root password contains the "&" character, and PHP encodes it into "&". Is this really the case?

Anyway, I deleted the session file of php and removed the & in the root user password of mysql, and then the login was normal, which is a bit strange

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/531653.htmlTechArticleToday I installed a system, debian etch version, mysql are all configured, but use phpmyadmin 2.11.0 to connect to mysql Total Tip #1045 - Access denied for user root@localhost (using password:...
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