Thread: Changing Databases???
Results 1 to 2 of 2
Generating reports from databases Forum: CGI Perl ForumReplies: 2
databases Forum: DatabasesReplies: 1
Query Several Databases From Search Field Forum: PHP ForumReplies: 9
Shopping carts and databases Forum: Website Scripts ForumReplies: 1
Shopping carts and databases Forum: HTML ForumReplies: 0
10-30-2003, 09:28 AM #1
Hi, I'm moving a database from one server to another server...both have told me the server name is localhost.
So when I am on one server, its localhost, but how do i go about accessing the localhost on the other server. I tried using mydomainname/localhost but that didn't do it.
Heres the example of the code.
Set newobjRecordset = Server.CreateObject("ADODB.Connection")
Set objRecordset = Server.CreateObject("ADODB.Connection")
10-30-2003, 02:46 PM #2
localhost is a loopback address meaning, basically, 'the machine I am on'.
if its a different machine, then you need the address for it. The machine also has to be set to allow you to remotely access that database.
I would speak to your hosts to see if they allow this.If one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?