Exclude the category of the current post

wp_get_post_categories() (Codex reference) is used to get the categories for a post

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