The issue of redirecting my site to a new domain

There is a search and replace plugin I have used that works pretty good.
http://wordpress.org/extend/plugins/search-and-replace/

In the future I would not hard code any links in if you can help it as well. Use dynamic linking like:

$url = site_url('/secrets/');
echo $url;

or:

img src="https://wordpress.stackexchange.com/questions/81722/<?php echo get_stylesheet_directory_uri() ?>/images/aternus.png" alt="" title="" width="" height="" />

as an example.

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