Hi,
On Sat, Mar 21, 2009 at 15:42, RoxanaM <roxana_240187(a)yahoo.com> 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 xwikiUser@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>
<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?
It seems you are using "xwikiDB" on Mysql ("create database xwikiDB")
but in the hibernate.cfg.xml it's "xwiki" ("/localhost/xwiki")
--
View this message in context:
http://n2.nabble.com/Problems-configuring-XWiki-tp2513789p2513789.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne