Help with Wp Query

$authors = get_users( array(
    'fields' => 'ID',
    'role' => 'your_role'
));

$my_query = new WP_Query( array(
    'post_type' => 'your_post_type',
    'author' => implode( ',', $authors )
));

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