Site admin can login but cannot access wp-admin after domain migration?

Assuming that the two locations in the options table have your new domain URL, go into Settings, Permalinks and change the setting to something else (anything). Save it, then go back into the same screen and set it to what you want it to be.

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