You need to configure ejabberd to use MySQL. Email Required, but never shown. The post you are referring to are obsolete. Make sure you have an ejabberd with MySQL support enabled. Other names may be trademarks of their respective owners. Then I have exactly followed steps specified in this link: Do you have ‘erlang-odbc’ at least this is the name on debian installed?

Uploader: Mikakus
Date Added: 13 October 2016
File Size: 61.27 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 86699
Price: Free* [*Free Regsitration Required]

Email Required, but never shown. You can learn more about the database schema, you can read ejabberd SQL database schema documentation.

The post you are referring to are obsolete. Alternatively, use ejabberdctl live to launch ejabberd with an Erlang shell attached. The Wget Command will help out to download the Erlang source files.

You first need to configure the database at the root level of the config file as described here: Create MySQL database schema. Here is how to get started to help with setup up environment.

Specifically, I fixed my problem by adding this line: Sign up using Facebook. In order to review and verify the status of Ejabberd installation, the mentioned command will help you out. Email Required, but never shown. In case it does not work as expected, check your config file syntax and log files ejabberd.


Using ejabberd with MySQL

With homebrew properly installed, you can use the following command to install MySQL: Make mysqk those are all in the appropriate ebin directory and readable as the user ejabberd runs as. Sign up using Email and Password. Extract the entire tar file downloaded using the command. Here is ngrep output if I connect to MySQL with the ejabberd user via another computer on the network.

Connect ejabberd to MySQL via native driver for mod_archive_odbc – Stack Overflow

From there, you can read it and check that it suites your production constrains. Here, we get to the overall procedure to build a chat app and 1-to-1 chat with erlang.

If you are building ejabberd from source, you need to make sure that you configure ejabberd to include MySQL module. It appears MySQL isn’t seeing anything from ejabberd. We’re running ejabberd 2. Migrating data from internal database to MySQL To migrate your data, once you have setup your sql service, you can move most of the data to your database.


To make the process running, Erlang Version of By clicking “Post Your Answer”, you acknowledge that you wwith read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

You need to configure ejabberd to use MySQL. Shift LEFT issue 4: Set the database with Ejabberd file through the following command.

The MySQL module appears to be installed: MySQL default schema is defined in a file called mysql. Once database configured, you can select on a module by module basis, which backend you want to use.

Using ejabberd with MySQL native driver

Configure desired authentication backend If you decide to store user password in ejabberd, you need to tell ejabberd to use MySQL instead of internal database for authentication. The Mobile Instant Messaging Experience. Dependance upon proprietary databases has changed.

Author: admin