windows - Configure Azure's SQL Server database with ejabberd server? -


i want implement chat application, i'm using ejabberd project. have installed ejabberd server in windows server default mnesia database. want use (azure) sql server instead mnesia database. have followed this link. things not getting clear me.

i've added following code inside ejabberd.yml.

host_config:   "localhost":     sql_type: mssql     sql_server: "localhost_azure_server_name"     sql_database: "db_name"     sql_username: "db_username"     sql_password: "db_password"     auth_method: [sql] 

i have restarted server after above setup. once try following command

ejabberdctl register "test" "testserver" "test123" 

i'm getting following error

user test@testserver registerd @ node ejabberd@localhost 

thanks in advance, can guide setup (azure) mssql server ejabberd.


Comments