Custom Taxonomy in REST API

Figured it out. Just needed to make a call like this to get the values of the custom taxonomy for a specific post:

https://example.com/wp-json/wp/v2/custom-tax-2?post={id}

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