Custom Query for Taxonomy

If you want a list of the terms, use get_terms():

<?php
$terms = get_terms('pa_main-genre', array('orderby' => name,));
?>

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