mysql data base connection problem

Avatar
  • Answered
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'
Avatar
JeffMa
Hello,

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