How to display author above content-single.php post

Use the_author(); you can read more about it here.

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