Re: [xwiki-users] Change database name of virtual wiki
On Wed, Apr 15, 2009 at 09:44, hel-o 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 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 >> users@xwiki.org >> 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#HConfigurethenamesofdatabaseschemas28since16M129 > >> >> Thanks >> hel. >> >> >> - >> >> h...@hel.at >> >> -- >> View this message in context: >> http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2633495.html >> Sent from the XWiki- Users mailing list archive at Nabble.com. >> >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> > > > > -- > Thomas Mortagne > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > > > > > - > > h...@hel.at > > -- > View this message in context: > http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2637481.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Change database name of virtual wiki
> > 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 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 >> users@xwiki.org >> 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#HConfigurethenamesofdatabaseschemas28since16M129 > >> >> Thanks >> hel. >> >> >> - >> >> h...@hel.at >> >> -- >> View this message in context: >> http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2633495.html >> Sent from the XWiki- Users mailing list archive at Nabble.com. >> >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> > > > > -- > Thomas Mortagne > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > > > > > - > > h...@hel.at > > -- > View this message in context: > http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2637481.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Change database name of virtual wiki
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 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 > users@xwiki.org > 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#HConfigurethenamesofdatabaseschemas28since16M129 > > Thanks > hel. > > > - > > h...@hel.at > > -- > View this message in context: > http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2633495.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users - h...@hel.at -- View this message in context: http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2637481.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Change database name of virtual wiki
On Tue, Apr 14, 2009 at 16:37, hel-o 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 > users@xwiki.org > 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#HConfigurethenamesofdatabaseschemas28since16M129 > > Thanks > hel. > > > - > > h...@hel.at > > -- > View this message in context: > http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2633495.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Change database name of virtual wiki
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 users@xwiki.org 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. - h...@hel.at -- View this message in context: http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2633495.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Change database name of virtual wiki
Hi, On Tue, Apr 14, 2009 at 09:39, hel-o 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. > h...@hel.at > > -- > View this message in context: > http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2631685.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[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. h...@hel.at -- View this message in context: http://n2.nabble.com/Change-database-name-of-virtual-wiki-tp2631685p2631685.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users