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 Link to comment https://forums.phpfreaks.com/topic/32552-solved-where-does-database-connect-come-from/ 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. Link to comment https://forums.phpfreaks.com/topic/32552-solved-where-does-database-connect-come-from/#findComment-151348 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.