Error While Creating A Test Server Setup

While creating a replica of our production server we are getting the error below when we run our website:


            

Please make sure that db name and user are not mixed up

Please make sure that db name and user are not mixed up

Yes we already checked that but still the same issue. We even created a new test php file for database testing with the login info and its working fine

Yes we already checked that but still the same issue. We even created a new test php file for database testing with the login info and its working fine

Please check that there is no local_conf.php file.

Please check that there is no local_conf.php file.

Which location oleg ?

We dont have any such file in the public_html folder. I am assuming you did not mean config.local.php

Which location oleg ?

In the root folder.

Yes we already checked that but still the same issue. We even created a new test php file for database testing with the login info and its working fine

PM me temporary FTP access, we will check