I realize that this may be a simple problem to solve, but I just cant seem to deal with it.
I have a simple script on a remote server:
<?php
$link = mysql_connect("www.blah.com", "bob", "pass")
or die("Could not connect");
print ("Connected successfully");
mysql_close($link);
?>
problem is, my user 'bob' with password 'pass' generates the error:
Warning: MySQL Connection Failed: Access denied for user: 'bob@www.blah.com' (Using password: YES) in /home/sites/site22/web/phpinfo.php on line 8
I gave bob all the permissions (i think).
Thing is, when I try to use my root user, everything works fine.
Why does root work, and not bob? Hrm...
Any help would be appreciated.
-K