If the_post_thumbnail(); is this – echo this text

If You need title from media use something like this:

<?php
$thumb = get_post(get_post_thumbnail_id());
echo $thumb->post_title;

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