I'm having a problem to connect to the SQL. The error message is..
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in C:\xampplite\htdocs\dvwa\includes\config.php on line 11
Access denied for user ''@'localhost' to database 'dvwa'
Here is config.php file... looks like root without password.. (i'm new sql user... just play around with it today)
# Do not edit below this line.
Any idea what should I do. I've tried to setup password for it, but failed.
C:\xampplite\mysql\bin>mysql.exe -u root -p
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Any advice in this matter would be most appreciated. Thanks guys