1

I am using Ejabberd for implementing a chat application, I turned ejabberd configuration to use ODBC (mysql) instead of using default Mnesia for database.

Now I compiled and configured mod_archive_odbc and restarted the server.

Query is : tables for archiving messages are not created by default. So do I need to run sql queries manually for creating tables or this is a problem with my configuration so that tables are not created ?

Any help will be greatly appreciated.

Mickaël Rémond
  • 9,035
  • 1
  • 24
  • 44
Gopal S Rathore
  • 9,885
  • 3
  • 30
  • 38
  • 1
    It would be good if you could tell me how you went about setting up your mod_archive to work if you're using a 14.x release. – LpLrich Oct 09 '14 at 22:47

2 Answers2

3

You need to run query.

You can find an .sql file in the here which is probably what you're looking for.

LpLrich
  • 2,463
  • 2
  • 20
  • 31
0

mod_archive implement XEP-0136: Message Archiving, which is now replace by XEP-0313: Message Archive Management.

mod_mam is included in ejabberd 15.06 and this is now the reference module for archiving. I suggest you turn to this version.

Mickaël Rémond
  • 9,035
  • 1
  • 24
  • 44