Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 12000

Re: NEED HELP: migrating openfire database (mysql)

$
0
0

Hi there!

Thanks for your reply! I've done it this way also.. But, maybe i did something wrong.

On the database-host run several databases, one of them is the openfire-db.

Every database has it's own user and password.

I did create a new user for the openfire-database on the new host and changed it in the openfire.xml file.

I did export the database from the old database host via mysqldump:

mysqldump -u user - p -P 3308 databasename(openfiredb) > backup.sql

(on the old / testing db host mysql is running on different port 3308)

I transfered the sql file to the new host and imported it there via:

mysql -u user -p  < backup.sql

(yes, mysqldump contains CREATE DATABASE IF NOT EXISTS `openfiredb` ......; )

afterwards i created the user for openfire, gave him all rights for the database openfiredb and let it connect from the ip that it's running on.

 

Then i get the missing schema stuff and the messages described in my first post.

 

Kind regards


Viewing all articles
Browse latest Browse all 12000

Trending Articles