How to List Parent Term Links for Custom Taxonomy With & Without Children?

Here is some basic setup for the function that MavBzh mentioned.

<?php
$args = array(
    'title_li'          => '',
    'taxonomy'          => 'industry',
    'show_option_none'  => '',
);
?>

<ul><?php wp_list_categories( $args ); ?></ul>

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