|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Two servers and one database
I'm installing a shopping cart application using MySQL (oscommerce) and would like to put the admin and checkout portions of the application in a secure directory on another secure server (different physical machine).
The admin and checkout processes need access to the MySQL database on the other machine. What would my connection look like on the secure server? Would I reference the MySQL machine by IP address? domain name? What about the port? I am using PHP. Thanks for any advice anyone might have |
|
#2
|
|||
|
|||
|
RE: Two servers and one database
$db = mysql_connect("servername","username","password");
|
|
#3
|
|||
|
|||
|
RE: Two servers and one database
How do I reference the servername?
|
|
#4
|
|||
|
|||
|
RE: Two servers and one database
IP or hostname...doesn't matter...
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Two servers and one database |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|