I have set up the username and password for mysql as follows
username: fishing_user
password: pw
why when I run the following test code
<?php
$user = "fishing_user";
$pass = "pw";
$db = "fishing_dl";
$link = mysql_connect( "localhost", $user, $pass );
if ( ! $link )
die( "Couldn't connect to MySQL" );
print "Successfully connected to server<P>";
mysql_select_db( $db )
or die ( "Couldn't open $db: ".mysql_error() );
print "Successfully selected database \"$db\"<P>";
mysql_close( $link );
?>
do I get the following error
Warning: Access denied for user: 'nobody@localhost' (Using password: YES) in /home/fishing/public_html/test.php on line 11
Warning: MySQL Connection Failed: Access denied for user: 'nobody@localhost' (Using password: YES) in /home/fishing/public_html/test.php on line 11
Couldn't connect to MySQL
any ideas?