Jump to content

Access denied for user in mysql_real_escape_string()


mdvignesh

Recommended Posts

I created a password in wamp server than i added that password in new mysqli("localhost","root","beam","lms")

 

Now iam getting error :

 

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user ''@'localhost' (using password: NO) in on line 169

 

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in  on line 169

 

(Before having password thatis without password it was working good)

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.