...

View Full Version : MySQL connect hostname



Andy92
02-09-2007, 08: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?

:confused:

ess
02-09-2007, 10: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.

Cheers,
Ess

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

neomaximus2k
02-10-2007, 12:39 AM
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