get_terms not returning any custom taxonomies

You have old version function (get_terms($tax, $args);). Try this:

get_terms(array('hide_empty'=>0,'taxonomy'=>array('tagportfolio')));

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