when i download wamp server, it shows this error for mysql
"#1045 - Access denied for user 'root'@'localhost' (using password: NO)"
how can i solve this.. say clearly
see u again
Moderator: General Moderators
Or that the password it didn't get is wrong.susrisha wrote:that means the password that it got is wrong
Provide a password.(using password: NO)
Then any ideas why root, a user which certainly does exist, can't log on without a password?BomBas wrote:Of course it didn't get a password, WAMP isn't using password.
Code: Select all
<?php
mysql_connect("localhost","","");
mysql_select_db("db name");
?>