[xwiki-users] Change database name of virtual wiki
Hi, is there a way to change the database name of a virtual wiki? Thanks hel. ----- hel. [email protected] -- View this message in context: http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2631685.... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, On Tue, Apr 14, 2009 at 09:39, hel-o <[email protected]> wrote:
Hi,
is there a way to change the database name of a virtual wiki?
Changing the database name and the descriptor name (XWikiServerWikiname -> XWikiServerNewwikiname) should work. Note that any existing link targeting this wiki will not work anymore.
Thanks hel.
----- hel. [email protected]
-- View this message in context: http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2631685.... Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Hi, Changing the database name and the descriptor name (XWikiServerWikiname -> XWikiServerNewwikiname) should work. Note that any existing link targeting this wiki will not work anymore. -- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users That means i have to rename the XWikiServerWikiname page? Just another question. Is it possible to use db names like xwiki_wikiname. Thanks hel. ----- ---- [email protected] -- View this message in context: http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2633495.... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Tue, Apr 14, 2009 at 16:37, hel-o <[email protected]> wrote:
Hi,
Changing the database name and the descriptor name (XWikiServerWikiname -> XWikiServerNewwikiname) should work. Note that any existing link targeting this wiki will not work anymore.
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
That means i have to rename the XWikiServerWikiname page?
Yes
Just another question. Is it possible to use db names like xwiki_wikiname.
Yes using xwiki.db.prefix. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigure...
Thanks hel.
----- ---- [email protected]
-- View this message in context: http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2633495.... Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Thanks, worked perfect. Just added the xwiki.db.prefix and changed the db names. What i'm wondering about is, in the hibernate file the db name is xwiki but adding the prefex the db name is xwiki_xwiki. I mean it works but shouldn't the name in the hibernat file be the same as the db name or is the prefex added here too? Cheers, hel. On Tue, Apr 14, 2009 at 16:37, hel-o <[email protected]> wrote:
Hi,
Changing the database name and the descriptor name (XWikiServerWikiname -> XWikiServerNewwikiname) should work. Note that any existing link targeting this wiki will not work anymore.
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
That means i have to rename the XWikiServerWikiname page?
Yes
Just another question. Is it possible to use db names like xwiki_wikiname.
Yes using xwiki.db.prefix. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigure...
Thanks hel.
----- ---- [email protected]
-- View this message in context: http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2633495.... Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ 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 ----- ---- [email protected] -- View this message in context: http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2637481.... Sent from the XWiki- Users mailing list archive at Nabble.com.
Thanks,
worked perfect. Just added the xwiki.db.prefix and changed the db names.
What i'm wondering about is, in the hibernate file the db name is xwiki but adding the prefex the db name is xwiki_xwiki. I mean it works but shouldn't the name in the hibernat file be the same as the db name or is the prefex added here too?
Cheers, hel.
It's why this parameter was named virtual.db.prefix in first version of this patch ;) I. e. main db and virtual db-s are handled totally different.
On Tue, Apr 14, 2009 at 16:37, hel-o <[email protected]> wrote:
Hi,
Changing the database name and the descriptor name (XWikiServerWikiname -> XWikiServerNewwikiname) should work. Note that any existing link targeting this wiki will not work anymore.
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
That means i have to rename the XWikiServerWikiname page?
Yes
Just another question. Is it possible to use db names like xwiki_wikiname.
Yes using xwiki.db.prefix. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigure...
Thanks hel.
----- ---- [email protected]
-- View this message in context: http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2633495.... Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ 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
----- ---- [email protected]
-- View this message in context: http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2637481.... Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Wed, Apr 15, 2009 at 09:44, hel-o <[email protected]> wrote:
Thanks,
worked perfect. Just added the xwiki.db.prefix and changed the db names.
What i'm wondering about is, in the hibernate file the db name is xwiki but adding the prefex the db name is xwiki_xwiki. I mean it works but shouldn't the name in the hibernat file be the same as the db name or is the prefex added here too?
Actually in virtual mode the database name in hibernate is not used at all, XWiki always make sure the right database is used (since each wiki has its own database).
Cheers, hel.
On Tue, Apr 14, 2009 at 16:37, hel-o <[email protected]> wrote:
Hi,
Changing the database name and the descriptor name (XWikiServerWikiname -> XWikiServerNewwikiname) should work. Note that any existing link targeting this wiki will not work anymore.
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
That means i have to rename the XWikiServerWikiname page?
Yes
Just another question. Is it possible to use db names like xwiki_wikiname.
Yes using xwiki.db.prefix. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigure...
Thanks hel.
----- ---- [email protected]
-- View this message in context: http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2633495.... Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ 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
----- ---- [email protected]
-- View this message in context: http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2637481.... Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
participants (3)
-
hel-o -
Ruslan Shevchenko -
Thomas Mortagne