Cant connect to database - configuration problem

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
User avatar
Jeyjoo
Joomla! Explorer
Joomla! Explorer
Posts: 344
Joined: Tue Jul 19, 2011 8:56 am
Location: Monaco
Contact:

Cant connect to database - configuration problem

Post by Jeyjoo » Tue Mar 06, 2012 11:15 am

Hi I'm running Joomla 1.5.23

I just moved my site to new hosting, and "successfully" imported the database.
However, I get the following error when I connect to website and admin panel:

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

Can anyone please help?

Thanks
Ultimate guide to setting up a Joomla MULTILANGUAGE website
https://jeyjoo.com/blog/how-to-create-a ... -joomla-3/
Guida siti MULTILINGUE in Joomla
https://jeyjoo.it/blog/creare-un-sito-m ... -joomla-3/

User avatar
Jeyjoo
Joomla! Explorer
Joomla! Explorer
Posts: 344
Joined: Tue Jul 19, 2011 8:56 am
Location: Monaco
Contact:

Re: Cant connect to database - configuration problem

Post by Jeyjoo » Tue Mar 06, 2012 5:52 pm

Solved.
In my configuration.php I changed
var $host = 'my ip address was here';
to
var $host = 'mysql51-56.perso';

Hope this helps someone! :)
Ultimate guide to setting up a Joomla MULTILANGUAGE website
https://jeyjoo.com/blog/how-to-create-a ... -joomla-3/
Guida siti MULTILINGUE in Joomla
https://jeyjoo.it/blog/creare-un-sito-m ... -joomla-3/


Locked

Return to “Installation 1.5”