Get_header raises an 500 internal server error

If you want to create one template in WordPress, Please see below example

  <?php /* Template Name: CustomPageT1 */ 
    get_header();
    echo "hello this is my custom template";
    get_footer();
   ?>

Try this code.

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