Migrate to New Server


We have an Openfire server that needs to be migrated to another. I already have Openfire and MySQL setup on the new server. However, I do not have the username and password of the mysql database of the old server. Any workaround?

Thank you in advance.