How to enqueue a random css style?

This should work!

function enqueue_random_style() {
        wp_enqueue_style( 'style-name', get_stylesheet_directory_uri() . '/inc/rcolor/' . mt_rand(1, 9));
}    
add_action( 'wp_enqueue_scripts', 'enqueue_random_style' );

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