balentti
12-19-2007, 04:07 AM
Hi all,
im having problem connecting to my DB, i have created the user, added the user to the DB and granted all the privileges to that user, but am still getting this error:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'balentti_balent '@'localhost' (using password: YES) in /home/balentti/public_html/index.php on line 15
this is the code:
15 $db = mysql_connect("localhost","balentti_balent ","password")
16 or die ("Connetion error");
17 mysql_select_db("balentti_balenttimes")
Can somebody help me on this?
im having problem connecting to my DB, i have created the user, added the user to the DB and granted all the privileges to that user, but am still getting this error:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'balentti_balent '@'localhost' (using password: YES) in /home/balentti/public_html/index.php on line 15
this is the code:
15 $db = mysql_connect("localhost","balentti_balent ","password")
16 or die ("Connetion error");
17 mysql_select_db("balentti_balenttimes")
Can somebody help me on this?