MySQL Database Unable to connect

Joomla version 1.5 is end-of-life and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
mindld
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Apr 17, 2009 2:57 pm

MySQL Database Unable to connect

Post by mindld » Fri Apr 17, 2009 3:09 pm

Lastnight I uploaded my site from localhost (worked fine) to an outside hosting account.
Now my site is saying:

Database Error: Unable to connect to the database:Could not connect to MySQL

I am VERY new to Joomla and do not know where to go to correct problem.
I have the correct MySQL code for the new server but don't know where to enter it.

For future reference was there something I should have changed before uploading it to avoid this problem?

Thanks

User avatar
cblokker
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 142
Joined: Sun Sep 25, 2005 5:29 pm

Re: MySQL Database Unable to connect

Post by cblokker » Fri Apr 17, 2009 3:14 pm

Check configuration.php in your root folder (line 33 to 36)

mindld
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Apr 17, 2009 2:57 pm

Re: MySQL Database Unable to connect

Post by mindld » Fri Apr 17, 2009 5:07 pm

Thanks


Locked

Return to “Migrating and Upgrading to Joomla! 1.5”