Duplicated WP Multisite for testing environment is redirecting to production site

I made it work by doing both the “Standart Find & Replace” and “Custom Find & Replace” steps when exporting the database via the WordPress-Plugin “WP Migrate”. Before succeeding, I skipped the “Standart Find & Replace” step, because I thought the custom step would be enough.

Down below you can see both steps with www.example.com as the production site and dev.example.com as for the testing site as an example:

enter image description here

Enjoy!

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