echo site_url() returns a different value than what is in the database siteurl field

Looks like the previous developer had defined the site and home URLs in the main wp index.php file.

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