FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Hostname for site





nezam
i am having a "Unable to connect to the database:Could not connect to MySQL"

i guess i need to tweak my configuration.php a little

i think i will have to change var $host from localhost to something else!

Can anyone help me with it? What shud be my host name? Embarassed


Thank You
mOrpheuS
If you've created the database within your FriHost account (using DirectAdmin), localhost is the correct hostname for use in any script hosted on the same server.

If you're unable to connect using "localhost" as the hostname, the problem lies elsewhere.
See if you're able to connect to the database through phpMyAdmin using the username & password that you're putting in the script.
nezam
Thanks..

Localhost worked! Very Happy
Related topics
site theme
What's Your site About
Does anyone know how to get your site to appear higher ?
Site under construction?
the best driver site ever
Php-Nuke Site -- How likely is it going to be hacked?
Verify your site's design on a mac (Safari, IE, Mozilla)
MS Accepts Korean Site Attack
De quoi parlent vos sites?
Linking from a high page rank site
[GUIDE]Testing Out Your Site Without Uploading It
I just got me a com domain for my site check it out !
FAQ : Coment demander un compte pour faire un site?
Can't acess my site with mobile phone server is blocking it.
Database server hostname
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.