How do you ensure that a user is recognised and available for use only when it is verified through a row in the database called ‘accountVerified’?

How do you ensure that a user is recognised and available for use only when it is verified through a row in the database called ‘accountVerified’?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)