MySQL Error 10060

Source: Internet
Author: User
Tags iptables

Setenforce 0

Service Iptables Stop

Mysql-u root-p

Aaa111222333

GRANT all privileges on * * to ' root ' @ '% ' with GRANT OPTION;

FLUSH privileges;

EXIT

==========================

Can ' t connect to MySQL Server (10060)

Http://database.51cto.com/art/201107/274565.htm

Setenforce 0//set to 0

Service iptables stop//temporarily shut down firewall services

Mysql-u root-p//login MySQL

Mysql> Grant all privileges on * * to ' root ' @ '% ' with GRANT OPTION; Any remote host can access the database

mysql> FLUSH privileges; You need to enter a secondary command to make the changes effective

Mysql> Exit//exit

You can also implement a remote by modifying the table:

Mysql-u root-p

mysql> use MySQL;

mysql> Update user Set host = '% ' where user = ' root ';

Mysql> Select Host, user from user;

MySQL Error 10060

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.