I can't seem to connect to mysql with a php script, even though I can connect fine with phpmyadmin. I created a user with a password, and gave it the proper priveleges for the db, but everytime it connects it dies saying access denied. I am using xampp on a windows xp box. Firewalls are all disabled, and I've checked the username nad password are correct. Here's the code:
$conn=mysql_connect('localhost','westbrookc16','megadots') || die (mysql_error());
Do usernames have to be in a specific format or something?