Taxonomy’s title

This piece of code will return all categories assigned to current product.

global $post;
$terms = get_the_terms( $post->ID, 'product_cat' );
foreach ($terms as $term) {
    $cat_name .= $term->name.', ';
    break;
}
echo $cat_name;

add this code inside single-product.php

Hope this help !

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