Configure openfire server in cPanel

Hello All,

i am working on chat Application for Android and iPhone. so i have googled and got a openfire. it succesfully work in localhost.so i have to configure it in cPanel. i have server of HostGator. and i try with it and it just stay loading in database setting. and in error log file i am getting database user Access denied. i have give all the privilages to database user.

so any body have document for configure or any help to configure it.

Thanks.