An extra ‘ is displayed in the title

Those look like smart apostrophes to me. They have a curve on theme. Try:

<title><?php wp_title(' | ', 'echo', 'right'); ?> - <?php bloginfo('name'); ?></title>

Otherwise post what you have around that php section too.

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