Windows -> Ubuntu Linux migration troubles


Pls, help me to solve a trouble:

I have Openfire 3.7.0 intalled on Windows 2K3 server with Mysql DB. All users data, logins and passwords are stored in DB. I need to run the same on Ubuntu Linux 10.04

All software (java, apache+php, mysql, openfire) was succesfully installed (openfire starts correctly), but after I restored mysql-backup (backup was created on Windows) on Linux machine, I can’t login to the Openfire (installed on Linux) with any old login and password.

Thus, the question is: how to move the openfire database from windows to linux corectly?