[xwiki-users] different database name and user
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
Nop, you are not right :) See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigure... 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 <[email protected]> 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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
You will find detail on how to configure many databases on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationWAR#HInstall.... On Mon, Mar 17, 2014 at 5:45 PM, Thomas Mortagne <[email protected]> wrote:
Nop, you are not right :)
See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigure... 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 <[email protected]> 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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- Thomas Mortagne
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? Cheers, Fiete Am 17. März 2014 um 17:45 schrieb Thomas Mortagne <[email protected]>:
Nop, you are not right :)
See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigure... 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 <[email protected]> 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 [email protected]
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Mon, Mar 17, 2014 at 6:02 PM, Fiete Botschen <[email protected]> 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 <[email protected]>:
Nop, you are not right :)
See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigure... 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 <[email protected]> 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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
participants (2)
-
Fiete Botschen -
Thomas Mortagne