Actually this is probably not related to hibernate configuration file
but to the fact that the fist thing XWiki does is switching to the
database corresponding to wiki in the XWikiContext (so "xwiki" by
default for the main wiki when the database is MySQL). You can change
it in xwiki.cfg (property xwiki.db).xwiki
On Tue, Jul 7, 2015 at 5:17 PM, Paul Libbrecht <paul(a)hoplahup.net> wrote:
Hello XWiki experts,
today, I tried to install a fresh xwiki. I downloaded the jetty thing in
the current release (I do not like installers) and adjusted the
hibernate.cfg.xml to uncomment the MySQL part and have
<property
name="connection.url">jdbc:mysql://localhost/notationCensus</property>
and related user and password.
At launch,
http://localhost:8080/xwiki/bin/view/Main/, however, it tells me:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access
denied for user 'xwiki'@'localhost' to database 'xwiki'
So...
- the change to MySQL is well received
- the change of user is right (I also tried changing it)
- but the database name seems to be stuck.
Is there some multiwiki ghost somewhere that I need to educate?
thanks in advance.
Paul
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne