30.03.2013, 17:14
You probably have defined a password, no worries just go to your PhpMyAdmin, click on "Users" at the top bar. Then click on "add user", there use any User Name + Password, but in the "Host" field make sure to put this:
Underneath on Global privileges click on check all, and then click add user. Next in your script make sure you have the name user name as you made + password. compile and run and it should work .
Code:
127.0.0.1