On Mon, Mar 17, 2014 at 6:02 PM, Fiete Botschen <fieteb(a)me.com> wrote:
Dear Thomas,
first of all thanks for your reply. It seems like I totally misunderstood
this ;(
According to this snippet:
"xwiki.db -- name of database schema for the main wiki (including the name
of the wiki in a non-virtual environment, otherwise the database name comes
from the hibernate configuration file)."
it is enough if I specify my database and username which both differ from
"xwiki" in the hibernate.cfg.xml right?
It used to but, since 5.0, XWiki is always in virtual mode which mean
you have to also indicate the right name in xwiki.db property (we need
to improve that to extract it from hibernate.cfg.xml by default).
Cheers,
Fiete
Am 17. März 2014 um 17:45 schrieb Thomas Mortagne
<thomas.mortagne(a)xwiki.com>om>:
Nop, you are not right :)
See
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigur…
for indicating a different main wiki database name or prefix.
As for the user and the initial database name to connect (yes you have
to duplicate this information) to you will find it in
/WEB-INF/hibernate.cfg.xml file. In fact unless you use the Debian
installer or the standalone distribution you generally have to
configuring it since the one in the WAR is for hsqldb.
On Mon, Mar 17, 2014 at 5:15 PM, Fiete Botschen <fieteb(a)me.com> wrote:
Hi all,
am I right that it is a fixed requirement that the database is called
xwiki
and the user is called xwiki as well?
To say it differently:
I would like to run a fresh version of xwikiusing a database named "foo"
and
a user named "bar" - this is not possible, right?
Cheers,
Fiete
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne