So you're not using MySQL as database, but the one that is bundled with XWiki. I think you can simply copy and paste the database folder from the old pc to the new one. Can anyone confirm this? Vito V. Harikrishnan Nair wrote:
I've got a small doubt. Right now, the database configuration in the hibernate.cfg.xml is using the one shown below and not the MySQL (which is commented) -
<property name="connection.url">jdbc:hsqldb:file:database/xwiki_db;shutdown=true</property> <property name="connection.username">sa</property> <property name="connection.password"></property> <property name="connection.driver_class">org.hsqldb.jdbcDriver</property> <property name="dialect">org.hibernate.dialect.HSQLDialect</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>
Does this mean that it is not using a database currently? I had tried to configure it to MySQL now but on restart it showed an error (refer to 'Error on restart' by me).
Is it safe to configure a MySQL database in the new computer and import the xar file ?
Harikrishnan