Is there a different way to grab a thumbnail image than this?

you need to echo it.

example:

<?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full');?>
<img src="https://wordpress.stackexchange.com/questions/105201/<?php echo $src[0] ?>" />

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