the_oliver Posted January 2, 2007 Share Posted January 2, 2007 Hello.I am using a php script to connect to a database. I was wondering does the database connection request come from the server holding the php script or the client mashine? I ask because i wish to restrict the ip's allowed to connect to the database! I assume that it comes from the server, but i was wonder is anyone could confirm this. If i was to restrict access to the database to only that servers IP address can anyone forsee any problems?- Thanks Quote Link to comment Share on other sites More sharing options...
trq Posted January 2, 2007 Share Posted January 2, 2007 [quote]If i was to restrict access to the database to only that servers IP address can anyone forsee any problems?[/quote]No. That is usually how mysql is setup by default only allowing access from 127.0.0.1 or localhost. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.