how can I get the selected term of a custom taxonomy

This is the solution:

$term_name = get_the_terms(get_the_ID(), 'intro')[0]->name;

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