Today, I installed a system. The etch version of debian and MySQL are all configured. However, the following message is displayed when I use phpmyadmin2.11.0 to connect to mysql: # 1045-accessdeniedforuserroot @ localhost (usingpassWord: YES). The password is correct, there is no problem in the command line. In this case, phpmyadmi installed a system today. The etch version of debian and MySQL are all configured, but the following message is displayed when phpmyadmin 2.11.0 is used to connect to mysql.
#1045-access denied for user 'root' @ 'localhost' (using passWord: YES) is incorrect, but the passWord is correct, and there is no problem in the command line.
In this case, phpmyadmin uses ['auth _ type'] = 'http'; this is fine, but why is the cookie not? Later I guess, is there a problem with php session processing? From the/var/lib/php5 session file, we found the root password, which contains the "&" character. php encodes it into "&". isn't it true?
I deleted the php session file and removed the "&" in the mysql root user password. then I logged on to it and it was normal. it was a bit strange.