hibernate.cfg.xml, the PostgreSQL configuration has this comment:
if you want the main wiki database to be different than “xwiki” (or “public” in schema mode)
you will also have to set the property xwiki.db in xwiki.cfg file
So, I’ve got
hibernate.connection.url ending with
:5432/production-xwiki and I’ve set
However, attempting to access XWiki results in several exceptions, like:
com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database xwiki
all of which mention “database xwiki”.
Can XWiki be configured to use a database name other than xwiki or is it hard-wired? I’ve reported a similar issue with the Docker image but I’m now getting this on an installation of the Debian packages.