Change database parameters from commandline

Hi All, thanks for taking the time to look at this.
I accidentaly changed the host for the database to a faulty name in the webgui and now my web interface is totally inaccessable.
What is the file I need to change to correct this again?
the system:
OS = CentOS 7.5
Pydio 8.2.2
MariaDB 5.5.60
Apache = httpd24 (RedHat)

Not required anymore, Reinstalled the whole server.