Why does WordPress keep showing me error messages?

I believe that this line

ini_set('error_reporting', E_ALL );

will override other error settings. Will display all errors, even ‘benign’ ones, to the screen and error log file.

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