Troubleshooting: PHPMyAdmin connection to MYSQL _ PHP Tutorial

Source: Internet
Author: User
Troubleshooting: PHPMyAdmin connects to MYSQL. Install a system today. The debian etch version and mysql are all configured. However, the following message is displayed when you use phpmyadmin2.11.0 to connect to mysql: # running 5-accessdeniedforuserroot @ localhost (usingpassword: install a system today, debian etch version, mysql is configured, but the following error occurs when you use phpmyadmin 2.11.0 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 can use [auth_type] = http; but why does the cookie fail? 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.

Tip 2.11.0 #1045-Access denied for user root @ localhost (using password :...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.