I'm trying to integrate MySQL into Ejabberd but I'm constantly facing problem with it. I'm working in AWS EC2 environment and I have 1 EC2 instance that has MySQL, Ejabberd and latest Erlang (Version 17) installed. Then I have exactly followed steps specified in this link: https://www.ejabberd.im/Using%20ejabberd%20with%20MySQL%20native%20driver However, when I view erlang.log and ejabberd.log files, it indicates there is MySQL module missing issue:
=CRASH REPORT==== 10-Jun-2015::06:05:28 === crasher: initial call: application_master:init/4 pid: <0.41.0> registered_name: [] exception exit: {bad_return,{{ejabberd_app,start,[normal,[]]}, {'EXIT',database_module_missing}}} in function application_master:init/4 (application_master.erl, line 133) ancestors: [<0.40.0>] messages: [] links: [<0.40.0>,<0.42.0>,<0.7.0>] dictionary: [] trap_exit: true status: running heap_size: 610 stack_size: 27 reductions: 101 neighbours:
I have downloaded and tried out various modules but all of them have failed. For example, Link from this blog post http://stefan-strigler.de/2009/01/14/ejabberd-mysql-drivers-for-debian-and-ubuntu/
Doesn't work at all. And when I ./build.sh the following module: https://svn.process-one.net/ejabberd-modules/mysql/trunk/ It creates nothing inside ebin/ folder of it.
I have done everything that is specified in this turorial: https://www.ejabberd.im/Using%20ejabberd%20with%20MySQL%20native%20driver except for the very first part (driver part). Can you please suggest me how to solve this or any alternative (easy) way to achieve this? Thank you.