Hello , I have an issue while connecting ejabberd with mysql. I copied the beam files to the right path. And i used mysql.sql to create tables in the database.
When I try to create an user, I get this error :
root@daniel-lubuntu:/etc/ejabberd# ejabberdctl register villaume daniel-lubuntu villaume
=ERROR REPORT==== 27-Jan-2013::22:18:29 ===
E(<4787.15413.0>:ejabberd_auth:276) : The authentication module ejabberd_auth_odbc returned an error
when checking user "villaume" in server "daniel-lubuntu"
Error message: {timeout,
{p1_fsm,sync_send_event,
[<4787.10417.0>,
{sql_cmd,
{sql_query,
["select password from users where username='",
"villaume","';"]},
{1359,321449,537050}},
60000]}}
** at node ejabberd@daniel-lubuntu **
User villaume@daniel-lubuntu already registered at node 'ejabberd@daniel-lubuntu'
Any idea ?
Thanks