adding gen_server behaviour to support graceful restart of db connection, if the connection is broken
adding gen_server behaviour to support graceful restart of db connection, if the connection is broken

candy-chat/mod_log_chat_mysql5