Echo specific term in an array

It is an object, and you can use the following notation:

<?php echo $myterms[0]->name; ?>

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