What is the name of your database ? "xwiki" or "xwikiDB", I ask that because by default it's xwiki and it's xwikiDB in your hibernate config.
2007/11/13, Karim-Pierre Maalej <[EMAIL PROTECTED]>: > > What is in your > > /usr/share/tomcat5.5/webapps/xwiki/WEB-INF/hibernate.cfg.xml ? > > > > Maybe it is not configured for mysql... > > > Please find the configuration file hereunder (without the commented out > parts). I think it is correct but maybe there's something I missed, like > a typo or else. > > > > <?xml version='1.0' encoding='utf-8'?> > <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate > Configuration DTD//EN" > > "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> > > <hibernate-configuration> > <session-factory> > > <property name="show_sql">false</property> > <property name="use_outer_join">true</property> > > <property name="dbcp.defaultAutoCommit">false</property> > <property name="dbcp.maxActive">50</property> > <property name="dbcp.maxIdle">5</property> > <property name="dbcp.maxWait">30000</property> > <property name="dbcp.whenExhaustedAction">1</property> > <property name="dbcp.ps.whenExhaustedAction">1</property> > <property name="dbcp.ps.maxActive">20</property> > <property name="dbcp.ps.maxWait">120000</property> > <property name="dbcp.ps.maxIdle">20</property> > > <property > name="connection.url">jdbc:mysql://127.0.0.1/xwikiDB?useServerPrepStmts=false</property> > <property name="connection.username">xwikiUser</property> > <property name="connection.password">xwikiPwd</property> > <property > name="connection.driver_class">com.mysql.jdbc.Driver</property> > <property > name="dialect">org.hibernate.dialect.MySQLDialect</property> > > <property > name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property> > <property name="connection.pool_size">2</property> > <property name="statement_cache.size">2</property> > > <!-- Mapping files --> > <mapping resource="xwiki.hbm.xml"/> > <mapping resource="feeds.hbm.xml"/> > > </session-factory> > </hibernate-configuration> > > _______________________________________________ > 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