I am tring to connect mySQL db hosted on a live server the line of code to connect db is
mysql_connect("example.com", "webwork_odesk1", "xxxxxxxx" , "webwork1_odesk") or die("Couldn't make connection.");
The username and password are correct but the error displaying in browser is
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'webwork_odesk1'@'119.154.3.131' (using password: YES) in C:\xampp\htdocs\project\index.php on line 4
Couldn't make connection.
How I can fix this problem