Get Category Archive Template Name Dynamically

This is the only option I have found:

$current_category = single_cat_title("", false);

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