How to resolve 404 errors for wordpress comments/feed when I have disabled comments

I added remove_action( 'wp_head', 'feed_links', 2 ); in functions.php file. and

added
in the header.php.

This fulfilled my purpose.

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