Hide WordPress “wp-admin” dashboard to User IDS

There is a useful plugin dedicated for this task called : Remove Dashboard Access which allows you to remove direct access to wp-admin for all users except the admins.

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