Wp ajax not working from “current_screen” admin hook

There is no current screen in the context of an AJAX request, only in the context of where you’re making the AJAX calls from.

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