Using page title as a link to term archive

If I understood you right the following is what you need:

$term_link = get_term_link( $term, 'genre1' );
// if there is no error print the link
if( !is_wp_error( $term_link ) )
    echo '<li><a href="' . $term_link . '">' . get_the_title() . '</a></li>';

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