Mysql Connection Error
#1

Hey I keep getting:


[22:37:18] [MySQL] Error (0): Failed to connect. Access denied for user 'root'@'localhost' (using password: YES).


Yet I'm trying to run my script off my desktop, using WAMP.

Why isn't working if its the default WAMP login, and this is my PWN line for mysql connection


mysql_connect("127.0.0.1", "root", "", "larp", connection);
Reply
#2

mabye you put wrong password?
Reply
#3

Your mysql configuration might be incorrect.
If you think it is a problem with WAMP on your localhost, try a free mysql database provider, such as http://db4free.net/.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)