View Single Post
Old 01-23-07, 02:41 PM   #1
fivefeet8
Ngemu Mod
 
Join Date: Jul 2003
Location: Fresno, CA
Posts: 1,886
Default Mysql Remote Access

When you connect to a remote Mysql Database using a PHP script located on another webserver, does the database recieve information about the other webserver's IP, or does it recieve the user's IP.

For example, a PHP script will be accessing 2 databases to retrieve data and display it to a logged in(using sessions) user. 1 database will be local to the script, but the other will not.

Is it possible to permit access to a remote mysql database by only where the script is running from?
__________________
[i7 2600k @4.4ghertz][2x4 GB DDR3 1600][EVGA GTX570 1.280GB SC][EVGA GTX460 physx][Asrock Extreme7 Gen3 Z68][2xSeagate 160 Gb SATA HD raid0][Seagate 250 GB SATA2 HD][Sony Bravia 40' 1080p LCD HDTV][NEC 3520a DVD+-DLw][Windows 7 Ultimate x64][Rosewill 1000w]
fivefeet8 is offline   Reply With Quote