Okay, right now I'm trying to learn php and tying it in with databases and such. Having trouble with the username and password section on mysql. What I did was change the username and password in the configuration (the my.ini file) and tried to contact to the server using mysql control centre but it wouldn't allow me, saying the details are incorrect.
So what I did then was remove the username and password fields leaving both empty and tried to connect again and it worked fine.
What could be the problem?

My computer is a running windows xp