RoxanaM wrote: > Hy, > > I want to instal manually Xwiki and I use Apache Tomcat 5.5 am MySQL Server > 5.1. > I created the database that Xwiki needs using the following commands: > > 1. create database xwikiDB > 2. grant all privileges on xwikiDB.* to xwikiu...@localhost identified by > 'xwikiPwd' > 3. show databases > > and I have changed the hibernate.cfg.xml file: > > <property > name="connection.url">jdbc:mysqlDB://localhost/xwiki?useServerPrepStmts=false&sessionVariables=sql_mode=''</property>
This is wrong. Try: <property name="connection.url">jdbc:mysql://localhost/xwikiDB?useServerPrepStmts=false&sessionVariables=sql_mode=''</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 resource="xwiki.hbm.xml"/> > <mapping resource="feeds.hbm.xml"/> > > I restarted the server and when I want to view to XWiki HomePage it tells me > that I have a server error, that I have an error in my hibernate.cfg.xml > file. But I have modified this file as the tutorials say... > > So, I installed the fully-featured wiki and it works and I looked at the > configuration file and it is like I wrote. I don't want to instal the > fully-featured wiki... so, what can I do? > > > -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
