Hello,
Were there any database configuration changes between XWiki 4.2 and 5.2?
I'm trying to upgrade our XWiki installation, as usually configured
hibernate.cfg.xml to point to local MySQL database
(name='xwiki_52_innodb_utf8'):
<property
name="connection.url">jdbc:mysql://localhost/xwiki_52_innodb_utf8?useServerPrepStmts=false&useUnicode=true&characterEncoding=UTF-8</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property
name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
<property name="dbcp.ps.maxActive">20</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
<mapping resource="instance.hbm.xml"/>
But when XWiki starts it fails with an error:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access denied for
user 'xwiki'@'localhost' to database 'xwiki'
Is it still possible to specify database name different than xwiki?
Regards,
Roman
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Changes-in-the-database-configuration-bet…
Sent from the XWiki- Users mailing list archive at
Nabble.com.