Page 1 of 1

could not connect to MySQL!

Posted: Tue Jan 10, 2012 4:38 pm
by nexus01
Hi folks, I'm installing Joomla 1.5 on a localhost but it's giving me an error "Could not connect to the database. Connector returned number: Unable to connect to the database:Could not connect to MySQL." Please I need your assistance. Thank you.

Re: could not connect to MySQL!

Posted: Tue Jan 10, 2012 5:41 pm
by DeanMarshall
Is MySQL definitely installed?
Is the MySQL service definitely running at the moment?
Are you connecting using MySQLi the 'improved' php mysql connector - does your PHP definitely have the correct extensions/modules installed or enabled?


Dean

Re: could not connect to MySQL!

Posted: Wed Jan 11, 2012 5:51 pm
by postermax
Hello,
ich have this Problem:
"Database Error: Unable to connect to the database: Could not connect to MySQL"

the db data are correct insert

thx

Re: could not connect to MySQL!

Posted: Mon Feb 27, 2012 7:08 am
by ngyukkwan
Just wondering if you have created a new user in MySQL for Joomla or not. If yes, have you set your user in MySQL's host to 'localhost'?
Alex

Re: could not connect to MySQL!

Posted: Sat Mar 17, 2012 7:38 pm
by pontikos
If you are on MAMP in Mac OS X, make sure you use root as db user and root as db pswd

Re: could not connect to MySQL!

Posted: Mon Jun 25, 2012 2:25 am
by GeorgeHB
Thank you pontikos. Your advice got me past the "connect to db" page.