Configure Mysql to allow remote connection _ MySQL

Source: Internet
Author: User
Configure Mysql to allow remote connection to bitsCN.com

MySql-Server only allows access from the local machine (localhost, 127.0.0.1) for security reasons. this is no problem for the website architecture of both Web-Server and MySql-Server on the same Server. however, as the website traffic increases, the Server architecture may put the Web-Server and MySql-Server on independent servers in the later stage to improve the performance, in this case, MySql-Server must be modified to allow Web-Server for remote connection.

Suppose we have: Web-Server: 192.168.1.100 // ubuntu Mysql-Server: 192.168.1.101 // xp

We can follow the steps below to modify: 1. log on to Mysql-Server to connect to local mysql (only local connections are allowed by default)

View source bitsCN.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.