About access denied for user ' root ' @ ' localhost ' (using password:no) workaround

Source: Internet
Author: User
Tags phpmyadmin
About access denied for user ' root ' @ ' localhost ' (using Password:no)
Just modified the MySQL password, then phpMyAdmin can not open, and then find the online tutorial, modified the php.inc.php password, and then phpmyadmin to open.
Then look at the following two pictures




Why is it still showing this hint?
------to solve the idea----------------------
Can you connect MySQL with the command line? Modify MySQL Password and phpmyadmin nothing to do with it, you this place to show the error, you see the program inside the link mysql password changed no
------to solve the idea----------------------
There are two possible, one is the PHP code of the MySQL connection using the wrong account password, the second case is that this account does not allow you to remotely access the machine.
According to your description, it is probably the first.
------to solve the idea----------------------
The password for your program connection database is incorrect
------to solve the idea----------------------
Did you change the MySQL password in the PHPmyadmin configuration file?
------to solve the idea----------------------
Access denied for user ' root ' @ ' localhost ' ( using Password:no)
Is that your root user has a password, but you didn't give
  • Related Article

    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.