Moving away from embedded-db

Is there a reasonably simple way to do migrate from embedded-db to something like mysql without losing data?


Hi Erik,

take a look at the embedded-db directory. There should be an openfire.script and maybe an openfire.log file.

Remove the DDL (first ~100 lines) in openfire.script and import it then into the existing MySQL Openfire database. Import then the openfire.log file.

You need to run the Openfire setup (conf/openfire.xml - setup=false) again and specify the MySQL database.