[ejabberd] how to use ejd2odbc?

Tom Wang tomwang99 at gmail.com
Thu Jan 19 03:23:37 MSK 2006


Hi, 

I want to convert mnesia database to ODBC, somebody know how to convert mnesia to odbc database by ejd2odbc?
my ejabberd server hostname is server1, my postgres db is on 192.168.25.125.
my new ejabberd.cfg is 
{auth_method, odbc}.
{odbc_server, {pgsql, "192.168.25.125", "ejabberdDB", "username", "password"}}.

new ejabberd is runing. If I want convert roster table to new odbc database, the command is "ejd2odbc:export_roster(Server, Output)." ?  what should be the value of Server and Output? 

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jabber.ru/pipermail/ejabberd/attachments/20060118/feece874/attachment.html


More information about the ejabberd mailing list