471,084 Members | 816 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,084 software developers and data experts.

Connect MySQL using phps on different network

The mysql server is running on 172.x.x.x:3306 and the phps are on server having 192.x.x.x. The database on 172.x.x.x is to be accessed for read/write on 172.x.x.x but the same database is required to be accessed for read only on 192.x.x.x.

Presently one proxy is running in between these 2 networks.

How to connect the database on 172.x.x.x from phps on 192.x.x.x ?
Oct 4 '11 #1
1 1964
1,059 1GB
If you have proper routing between two network then

create a user with the host 192.x.x.x. Set the privileges properly and you will get the access
Oct 17 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.