[ejabberd] Port ejabberd Userdatabase to MySQL

Jeffrey Rogiers jeffrey.rogiers at gmail.com
Fri Oct 16 18:12:38 MSD 2009


On Fri, Oct 16, 2009 at 7:23 AM, Manuel Ritter <ritter-net at web.de> wrote:
> Hello,
> i like to change the Auth method of ejabberd to mysql over odbc. I tested it
> and it works fine, but is there any possibility to import my old ejabberd
> database (old auth was {auth_method, internal})
>
I think your looking for the ejd2odbc module.

usage:
ejd2odbc:export_passwd("domain.com","/tmp/passwd.sql").

Then you can simple import it into mysql assuming you already created
the database.
mysql -u user -D database -p < /tmp/passwd.sql

> Greetings
> Manuel Ritter
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>

Thanks,
Jeffrey Rogiers


More information about the ejabberd mailing list