Asterisk-IM by default will try to setup its database tables itself.
It will try to install a phoneUser and phoneDevice table.
The messenger database user must have privileges to install these tables.
I have tested this functionality on PostgreSQL and MySQL. Though it should work on every database supported by Jive Messenger.
If Asterisk-IM is unable to add the tables, it will print out an error message saying that you must manually install these tables.
One thing left I need to add to subversion is the database scripts so that users can manually add the database tables if they want to. I will do this in the near future, and sooner if people really need it
Which database are you using?