I don't know how to configure an external connection

Hi

I’m a newbie with openfire and i want to connect some users with the primary mysql data base (with the provided sql schema) and others with an external mysql database (on an other server)

i don’t know how to configure the openfire.xml for doing that even after having read documentation… anyone could help me please?