Remove ability to Permanently delete an image from the Media Library

That link is hard-coded in /wp-includes/media-template.php ~ln 526. Since it can’t be removed via apply_filters, you could probably use a small js script like $('a.delete-attachment').remove(); to remove the link.

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