database.php page problems
im having problems with my database.php page its supposed to connect with my mysql server here is the information givin to me by my hosting server The correct MySQL database settings are:
MySQL Host: mysql3.freehostia.com MySQL Port: 3306 MySQL Database: turcha_mysql MySQL Username: turcha MySQL Password: some pass
how do i add that info to this: <?
$conn = mysql_connect("mysql3.freehostia.com:3306", "turcha", "some pass") or die(mysql_error()); mysql_select_db('your_database', $conn) or die(mysql_error());
?>
it still gives me this error Warning: mysql_connect(): Access denied for user 'turcha'@'hex12.freehostia.com' (using password: YES) in /home/www/arabian-outlaw.com/database.php on line 3 Access denied for user 'turcha'@'hex12.freehostia.com' (using password: YES) i opened a ticket for help from the hosting