How to display tags with post_content

Simply use get_the_tags($my_id), example :

$posttags = get_the_tags($my_id);
if ($posttags) {
  foreach($posttags as $tag) {
    echo $tag->name . ' '; 
  }
}

Refering to WordPress codex

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