mysql data base connection problem
when we are going to log in to our application the error will appear as below :
Access denied for user ''@'localhost' (using password: NO)select * from contacts where username like 'admin'
Access denied for user ''@'localhost' (using password: NO)select * from contacts where username like 'admin'
Based on the information you have provided, it looks like you are not providing a password when trying to log in which is causing the error. To connect properly, you will need to configure your code to fully authenticate as a proper database user with their appropriate password.
Best regards,
JeffMa