Grant user authorization

Source: Internet
Author: User

Remote Host connection user authorization example: 192.168.1.111mysql server and 192.168.1.20.mysql Server

  Log on to MySQL at 192.168.1.111 and authorize the user

 

Query whether to add this user  
In this way, the management user with the MySQL login account user2 password 123456 is successfully authorized to the host with the IP address 192.168.1.112;   In this case, we connect to 192.168.1.112.   At this time, an error will be reported: the connection to the 192.168.1.111mysql server cannot be established. The reason is that the firewall for 192.168.1.111 is enabled, and you only need to disable the firewall.       Then connect to the 192.168.1.20.mysql server.     Authorization successful!

Grant user authorization

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.