How to hide widget from certain category

I think you might mean is_category()?

Codex: is_category()

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