Why get_terms() behaves strangely when being called in admin (for use in meta box)?

Why get_terms() behaves strangely when being called in admin (for use in meta box)?

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