Connect to MySQL 10061 grant

Source: Internet
Author: User
Tags mysql gui mysql gui tools

When the mysql database is installed in Ubuntu and cannot be linked with the Navicat client, the following error ERROR is reported: error 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)

1) you can log on to mysql-uroot-p123456 on the server.

2) ping OK

3) grant all privileges on *. * to 'root' @ '%' identified by '000000'; flush privileges; grant external permissions to mysql on the server

4) comment out the skip in the Database Configuration my. cnt... And bing server address. The principle is 127.0.0.1.

5)/etc/init. d/mysql restart

// Navicat 8.2.12, MySQL GUI Tools 5.0

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.