Building Link List for Custom Tax

Got this to work, i was concatenating the html incorrectly.


$terms = get_terms( 'listing_categories' );
if($terms) : foreach ( $terms as $term ) {
echo '<li><a href="'.get_term_link($term).'">'.$term->name.'</a></li>';
} endif;

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