How to use “offset” to paginate get_users?

$args = array("role" => "subscriber", "number" => 10);

get_users($args); //First 10 Users with the Role Subscriber

$args['offset'] = 10;

get_users($args); //10th to 20th Users with the Role Subscriber

and so on.

Offset = page * number

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