get avatar from facebook graph [closed]

I found the solution!

global $current_user;
get_currentuserinfo();
echo get_avatar( $current_user->ID, 48 );

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