So I'm running Tiger, I have apache on, and PHP enabled. PHP works as per the nifty phpinfo(); test php file.
The problem I'm having is I am trying to run a test php file to test my mysql setup (from this site:
http://www.macdevcenter.com/pub/a/ma..._5.html?page=3)
bsically if the script works, it'll say so. The only change I made was to enter the root password I entered.
The problem I'm running into is I'm getting this error:
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in /Users/mpancha/Sites/dbtest.php on line 5
Warning: mysql_select_db(): Access denied for user 'mpancha'@'localhost' (using password: NO) in /Users/mpancha/Sites/dbtest.php on line 9
Warning: mysql_select_db(): A link to the server could not be established in /Users/mpancha/Sites/dbtest.php on line 9
Access denied for user 'mpancha'@'localhost' (using password: NO)
What is confusing me, is the php script doesn't use mpancha@localhost as the login, it uses root@locahost. "mpancha" is my user account on my ibook.
I'm completely lost on this, any help would be appreciated. Thanks in advance.