How to protect wp-admin from third party access?

Codex recommends adding HTTP authentication as additional layer of protection. Strictly speaking it doesn’t rely on WP and keeping things independent is not a bad idea in context of security.

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