Ah, I got it. Please check /etc/onlyoffice/docspace/ folder on the host. There should be appsettings.enterprise.json file which contains necessary data, you need the ‘ConnectionStrings’ block.
This file might have a slightly different name, it depends to installed version of DocSpace.