Page 1 of 1

Database Connection failed

Posted: Wed Nov 01, 2006 12:31 pm
by papergirl
Hi,

I have installed the cms software and the tables etc were successfully created in my database. When i try to log in at /admin I get this error "Database Connection failed". I'm using MySQL - 4.1.15-nt, phpMyAdmin - 2.8.0.2. I assume since the table were created the usernames and paswords were correct. Would it have something to do with the database host name? Usually it is localhost, but my hosting company said theirs is "sql.mysite.com". I though tthis was strange but I've emailed them several times and that is correct. Would it need to be:"http://sql.mysite.com"
or maybe that has nothing to do with the problem?

Re: Database Connection failed

Posted: Wed Nov 01, 2006 12:41 pm
by tsw
no it cant be http://sql...


check config.php for your username , password and db name

Re: Database Connection failed

Posted: Wed Nov 01, 2006 1:40 pm
by papergirl
I got it working, I set it up on another server and copied the info in that config file. For some reason It was blank and nothing was written to it whenI originally did it, The permissions were fine.

thanks for your help