get_terms of post->id

I think what you’re looking for is get_the_terms, which you can specify a post ID and a taxonomy to retrieve the terms attached to it.

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