Hi, I am having troubles installing Joomla! using the installer. The version I am trying to install is V1.5.14. I get as far as the database setup and then installation fails with the message:
Could not connect to MySQL
I see this seems to be a common problem, but most people seem to have solved it in ways that do not work for me.
This is a fresh install, and I have created a database for joomla to use with a utf8_general_ci collation. I created a user for the database with full priveleges. All this is via CPanel (I am installing on a hosted server).
Some system information:
Apache Version 2.2.3
MySQL Version 5.0.45
PHP Path /usr/bin/php
PHP Version 5.2.9
I can run the small script:
Code:
<?php
$host = 'localhost';
$user = 'account_user';
$pass = 'my_password';
$db = 'account_db';
//Don't change below here
$conn = mysql_connect($host, $user, $pass);
mysql_select_db($db, $conn);
echo '<hr />anything above this linebreak is BAD!';
?>
as lifted from another similar post on the subject and this works fine with no errors. The same inputs used for Joomla installation result in the error above.
I'm sure the host, username and password are correct. Another clue is that if I delete the database and user and re-try the installation I get exactly the same error.
So the question is, what other possibilities are there for why Joomla installation can't connect to the db?