Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'some_user'@'abcd.efgh.com' (using password: YES) in /home/some_dir/public_html/some_dir/db.php on line 1
Fatal Error: MySql connection failed.Access denied for user 'some_user'@'abcd.efgh.com' (using password: YES)
Here is my code of db.php
<?php $connect = mysql_connect('www.example.com','some_user','some_password');
if(!$connect)
die('Fatal Error: MySql connection failed.' . mysql_error());
$connect_db = mysql_select_db('db_name');
if(!$connect_db)
die('Fatal Error: Could not connect with database.')
?>