It seems every time i create a new database or mess with MySQL in any way, I have problems with the GRANT statement. ARGH! So, I formatted my development computer and installed MySQL 4 with mysqld-max-nt. I was using 3.23 with mysqld-nt before. Then, I read in my databases from my backup file and tried to run my applications only to get an error:

Warning: mysql_connect(): Access denied for user: 'php@localhost' (Using password: YES) in C:\blog\main.php on line 5
I tried to do a GRANT ALL ON blog.* but received an error that I had incorrectly used the GRANT command, or, if tried to make the user 'php@localhost' or 'php', it said the user was denied access. As far as I can tell, I did nothing different than before.

!@%#&@#$@#$ This is one area of MySQL I don't like - any help?