Transferring Pimcore to another hosting service

I have an archive with a backup copy. The archive contains site files and a database. Where is the configuration file to specify the database name, user name, and password?

In app/config/local/database.yml for Pimcore 6.x, var/config/system.php for pimcore 5.x or website/var/config/system.php for pimcore 4.x

And where it is in the old version 1.x?

are you still running a Pimcore 1.x website? Oh boy… that is risky :wink:

It used to be under website/var/config or something like that