URLs unchanged after migration

The previous developer had hard coded

update_option('siteurl','http://example.com'); 
update_option('home','http://example.com');

in functions.php which on being removed resolved the issue. Thanks everyone for churning in your suggestions.

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