Show tags in post? Function not working

Here you go,

global $post;
$posttags = get_the_tags();
if ($posttags) 
            {
            foreach($posttags as $tag) {
            $tagu = $tag->name;
            echo $tagu
                }
            }

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