display user roles in comment form

This will print User Role

global $current_user;
$user_role = $current_user->roles[0];
echo $user_role;

Use above code, where ever you want to display user role.

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