On Mon, Jan 30, 2012 at 6:10 PM, Haru Mamburu <haru_mamburu(a)mail.ru> wrote:
Yes, I did. :-(
XEM 3.4
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could
not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document [name =
[XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent =
[name = [xwiki], type = [WIKI], parent = [null]]]]
Wrapped Exception: Error number 3301 in 3: Exception while switching to database xwiki
Wrapped Exception: Access denied for user 'test'@'localhost' to database
'xwiki'
Do you have more ? Would be nice to get the full stack trace.
And actually there is no DB xwiki in Mysql. Xwiki is completely right.
The rest settings in xwiki.cfg are intact.
Kind regards
Dmitry
PS. Sorry for the private mailing
30 января 2012, 20:46 от Thomas Mortagne <thomas.mortagne(a)xwiki.com>om>:
> On Mon, Jan 30, 2012 at 5:06 PM, Haru Mamburu <haru_mamburu(a)mail.ru> wrote:
> > Hi, All!
> >
> > Does anyone know, is it possible to change default DB name xwiki to smth else?
> >
> > I changed in config.cfg,
> >
> > xwiki.db=test
> >
> > in hibernate.cfg.xml
> >
> > <property
name="connection.url">jdbc:mysql://localhost/test</property>
> >
> > After XWiki reload it tries to access xwiki db still. :-(
> >
> > What is correct way to do it?
>
> Well that's supposed to be the correct way actually. You sure you
> uncommented xwiki.db ?
>
> >
> > Thanks in advance,
> >
> > Dmitry
> > _______________________________________________
> > 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
--
Thomas Mortagne