Openfire transfer

Hi, my system I’m using Openfire 3.6.4. I’m using MySQL database as the database. Openfire server due to a problem which I need to move it to another server. But it can not succeed.
I create a new server and MySQL database files like Openfire in the same way, although not new to the server copy.
Waiting for your help.