In virtual mode, the main wiki database name is hardcoded to 'xwiki',
so it must be called xwiki.
I created a Jira issue for this (
http://jira.xwiki.org/jira/browse/XWIKI-1728 ), as the changes
required to make the database name are not that big.
On 9/7/07, Vitantonio Messa <vitantonio.messa(a)coss.fi> wrote:
Yes, I setup a document for every wiki (even for the
main one). Now it
is working, but only because I change the name of the database to "xwiki".
I did only that change, that's why I'm quite sure that the problem was
that one.
Vito
Esbach, Brandon wrote:
> Have never tried with a different name; this could likely be the
> problem. Have you setup a document for the main wiki as well as the
> virtual ones?
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
> Of Vitantonio Messa
> Sent: 07 September 2007 09:01
> To: users(a)xwiki.org
> Subject: [xwiki-users] Virtualization with MySQL
>
> Hi all,
>
> just to notice you.
> I set up virtual servers (XWiki 1.1 rc1) using Jetty and MySQL.
> I found out that the name of the database for the main XWiki must be
> "xwiki". With different names the virtualization is not working (at
> least not for me). Of course I did modify the hibernate.cfg.xml with the
> new database names every time.
>
> I thought it was something quite important to know (at least for the
> ones that want to use virtualization).
>
> Well, comments (did someone experience the same?) or corrections (I
> think I can do mistake ;-) are always welcome.
>
> Thanks to the XWiki project (truly, thanks to the people working and
> developing the project).
> Best,
>
> Vito
Sergiu
--
http://purl.org/net/sergiu