I can connect to my mysql db using php without a password fine. However, when I add a password in phpmyadmin I can no longer connect. I consistently get the error of:
"Could not connect: Access denied for user 'admin'@'localhost' (using password: YES)"
I've tried using both settings of MySQL password 4.0 and 4.1+ with the same results.
mysql_connect ("127.0.0.1", "admin", "password") or die('Could not connect: ' . mysql_error());;
mysql_select_db ("datatable");
Does anyone have an idea of what may be going on here?
EDIT: I can access it if I turn off the password. There seems to be some misunderstanding