I am trying to setup simple XMPP server (ejabberd) which will save messages exchanged by users in MySql database.
This really seems like a basic stuff for a chat server.
Does anyone have any experience or documentation on how to setup message storing?
I am using ejabberd 15.04
As mentioned in ejabberd forums, ejabberd since version 15.06 supports Message Archive Management (MAM) with both Mnesia and relational database storage (MySQL, Postgres).
You can upgrade to ejabberd 15.06 to benefit from that feature.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With