MySQL Remote Access

Source: Internet
Author: User

"Error 1130: Host '192. 168.1.3 'is not allowed to connect to this MySQL Server"
Solution: the host column in the User table indicates the computer name that the user can log on.

1. Change the table
On the computer of localhost, after logging on to MySQL, change the "host" item of the corresponding user in the "user" table in the "MySQL" database, and rename it "%" from "localhost ";
2. Authorize ----- Similarly, myuser logs in from any location
Grant all privileges on *. * To 'myuser' @ '%' identified by 'mypassword' with grant option;
----- Or, similarly, myuser can only log in from '192. 168.1.3'
Grant all privileges on *. * To 'myuser' @ '192. 168.1.3 'identified by 'mypassword' with grant option;

Posted onReading by ruima software Studio (...) Comment (...) EDIT favorites

Refresh comment refresh page Back to Top

Blog homepage blog news flash programmer recruitment Knowledge Base

Copyright 2013 ruima software studio powered by: blog Park template: Hujiang blog




Enter your search term
Submit a search form

Web
Rapidhorse.cnblogs.com
Www.rapidhorse.com

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.