Learn about allow access to mysql from any host, we have the largest and most updated allow access to mysql from any host information on alibabacloud.com
Solution:
1. Change the table.
It may be that your account is not allowed to log on remotely, but only on localhost. At this time, you only need to log in to MySQL on the computer of localhost, and change the "host" entry in the "user" table in the "
Modify the permission Method for mysql to allow access to the host. mysql allows access to the host.
Enable mysql Remote Access Permissions
By default, mysql users do not have the permission for remote access. Therefore, when the program is not on
How can I set to allow external access to MySQL and set to allow access to mysql?
Set the mysql service to allow Internet access and modify the mysql configuration file, including my. ini and my. cnf and linux ].
1: Set the mysql configuration
Set MySQL to allow Internet access, and mysql to allow Internet access1: Set the mysql configuration file/etc/mysql/my. cnf, find bind-address = 127.0.0.1, and comment it out. // This function no longer allows local access only. Restart
ERROR 1130:host ' 192.168.1.3 ' isn't allowed to connect to Thismysql server Workaround: 1. Change the table method. It may be that your account is not allowed to log on remotely, only on localhost. This time, as long as the computer on the
Solution:
1. Change the table.
It may be that your account is not allowed to log on remotely, but only on localhost. At this time, you only need to log in to MySQL on the computer of localhost, and change the "host" entry in the "user" table in the "
Turn on MySQL remote access permissionThe default MySQL user does not have remote access permission, so when the program is not on the same server as the database, we need to turn on MySQL remote access.There are two main ways to change the table
Solution MySQL does not allow remote access to the method
Workaround:1. Change Table method. Your account may not be allowed to log in remotely, only in localhost. This time as long as the computer in localhost, login mysql, change the "MySQL"
mysql| Security | access | server | data | database | Network MySQL security system is flexible. It allows you to set user access rights in many different ways. Typically, the grant and REVOKE statements are used to modify the authorization table
Original: http://www.chinaz.com/program/2010/0315/108707.shtmlWorkaround:1. Change the table method.It may be that your account is not allowed to log on remotely, only on localhost. This time, as long as the computer on the localhost, log in to
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.