WordPress select query issue

One more for the pot:

$wpdb->get_col can be used to return a “single dimensional” array of all values set for “sleeps”

global $wpdb;
$values = $wpdb->get_col( "SELECT meta_value FROM wp_postmeta WHERE meta_key = 'sleeps'" );

echo implode(',', array_unique($values) );

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