Configuration Settings Changes During Hosting Migration

I was trying to change the host my mautic installation was running on and I changed the "site URL’, “path to log directory”, and “path to cache directory” cofig settings in Mautic.

However, they were wrong and now now I get an error “The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator”. When going to the old Mautic URL

Doe anyone know if it is possible to change the config settings back? ( I have the old settings just unsure how to apply them.

Many thanks guys!