How to install openfire with sql server 2000 and active directory?

Hi, I am new on this and my english is not very good, but I would really appreciate if any one could help me. I want to install openfire with sql server, i already installed sql server 2000 and created a db named openfire with a user owner of the database, then I installed openfire and run admin that opened the firefox browser with openfire configuration, the problem is that I receive these error:

A connection to the database could not be made. View the error message by opening the “\logs\error.log” log file, then go back to fix the problem.

Can any one please help me??? Thank you very much for your support.