Admin menu disable new/delete page

If achieving this with a plugin is acceptable to you, an answer to a similar question recommended the Advanced Access Manager plugin.

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