How to allow a particular role like Contributor be able to only view pending comments and approve them?

How to allow a particular role like Contributor be able to only view pending comments and approve them?

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