WordPress comments – how to check if comment still needs to be approved?

WordPress comments – how to check if comment still needs to be approved?

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