[ejabberd] MySQL connection failed: connect_failed

kaan kaan kaanvlbg at hotmail.com
Wed Aug 22 18:48:14 MSD 2007

Hi @ll

i install ejabberd on my new server,
i need the same config file which is on the old server,
when i try to start become this error: 

=ERROR REPORT==== 22-Aug-2007::16:33:18 ===
E(:ejabberd_odbc:284) : MySQL connection failed: connect_failed

=CRASH REPORT==== 22-Aug-2007::16:33:48 ===
    registered_name: []
    error_info: mysql_connection_failed
    initial_call: {gen,init_it,
    ancestors: ['ejabberd_odbc_sup_chat.***.**',ejabberd_sup,]
    messages: []
    links: []
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 377
    stack_size: 21
    reductions: 134

dbusername and dbpassword is ok when i try login from bash or phpmyadmin then its ok.

{host_config, "chat.****.**",[{auth_method, external},
                                {extauth_program, "/etc/ejabberd/auth.php"},
                                {odbc_server, {mysql, "localhost", "ejabberd", "ejabberd", "******"}}

on the old server i have mysqlversion:Server Version: 4.0.21-Max

the new server is running with 4.1.13 version.

i check the mysql user table, on the old mysql server passwords are 16 chars lenght
on the new server 41 chars

what do you mean is this the problem?

plz help.
Völlige Gestaltungsfreiheit: Mit Live.com können Sie Ihre Homepage genau so gestalten, wie Sie es möchten.

More information about the ejabberd mailing list