When I got onto my website this morning ( http://www.elarune.net ) I got this mysql connection error
Warning: mysql_connect(): Access denied for user: 'josh_elarune@localhost' (Using password: YES) in /home/josh/public_html/functions.php on line 10
Couldn't connect to the databaseAccess denied for user: 'josh_elarune@localhost' (Using password: YES)
yet, when I went to bed it was working fine. All the passwords are correct and so is the other info. I have no idea why it is doing this? Here is my info for connecting to the db.
$user="josh_elarune";
$host="localhost";
$password="***********";
$database="josh_main";
$connection = mysql_connect($host,$user,$password)
or die ("Couldn't connect to the database" . mysql_error());
mysql_select_db($database, $connection)
or die ("Couldn't select database");