Database Connection failed

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
papergirl

Database Connection failed

Post 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?
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Database Connection failed

Post by tsw »

no it cant be http://sql...


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

Re: Database Connection failed

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”