View Full Version : MySQL connect hostname

02-09-2007, 07:52 PM
Hi there,

When i am connecting to a mysql database, i usually put localhost as the hostname, but what do i put in the hostname if i have a mysql database located at another .com website and i want to connect to it?

I have tried putting in my domain name and it wont connect?


02-09-2007, 09:10 PM
You need to contact your Hosting company and ask them for the hostname used to connect to mysql database instance.

It not the same for every host.


02-09-2007, 09:10 PM
Got it all fixed now. I got the wrong host server name.

02-09-2007, 11:39 PM
I tend to use the IP of the machine myself if the database server is offsite

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum