wp_head makes my custom page template not work in Customizer?

you can try this way:

<?php get_header('your_custom_header');?>
<?php get_footer('your_custom_footer');?>

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