Display All Authors only

Use following code to get all users having role Author

$args = array(
    'role'         => 'author',
    'number'       => '10',
);

$authors = get_users( $args );

For all argument list refer this

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