Am trying to connect Ejabberd server with mysql.I have done all the configuration.And when i try to login ejjaberd its not logging in,its showing following error:
Ejabberd Log File:
=ERROR REPORT==== 2014-12-18 10:20:52 ===
E(<0.402.0>:ejabberd_odbc:552) : mysql_conn: Failed connecting to "192.168.5.109":3306 : {error,
"connect failed : {error,econnrefused}"}
=INFO REPORT==== 2014-12-18 10:20:52 ===
I(<0.306.0>:ejabberd_odbc:226) : mysql connection failed:
** Reason: connect_failed
** Retry after: 30 seconds
This is my configuration:
{odbc_server, {mysql, "192.168.5.109", "ejabberd", "root", "root"}}.
{mod_offline_odbc, [{access_max_user_messages, max_user_offline_messages}]},
{mod_privacy_odbc, []},
{mod_private_odbc, []},
{mod_pubsub_odbc, [ % requires mod_caps
{access_createnode, pubsub_createnode},
{pep_sendlast_offline, false},
{last_item_cache, false},
%%{plugins, ["default", "pep"]}
{plugins, ["flat", "hometree", "pep"]} % pep requires mod_caps
]},
{mod_last_odbc, []},
The above shown is my configuration file.What is missing here?