MySQL configuration prompt cannot connect to the MySQL local server

Source: Internet
Author: User

 

Sorry, I encountered this problem some time ago, but I was confused to solve it. For details, I can find the article I posted earlier,

 
 
  1. error nr.2003  
  2. can't connect to mysql server on 'localhost'(10061) 

I still can't solve it. Learning about this will happen, but it won't.

The last time I found a solution.

At the beginning, ping localhost appears below. Is it strange? Why is the address not 127.0.0.1?

When I used IPv6 to log on to a foreign website or something, I installed ipv6 on my computer (my computer is xp). You guessed it. The problem lies in ipv6.

Detach now

Ping again and try again. The familiar interface is back.

Configure again, but a new problem may occur again,

 
 
  1. error nr.1045  
  2. access denied for user 'root'@'localhost'(using password:YES) 

 

It seems that the root password is incorrect. What should I do? The simplest way is to Unmount and reload, and delete the corresponding files in drive C. Otherwise, the password remains unchanged,

After re-installation, the password is successfully configured. In fact, there are methods on the Internet that can be used without re-installation. You can search for the password as needed.

It is a common task to select this line because it has been used for one night.

Recommended by editors]

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.