我的ejabberd.log:
2018-05-15 21:40:05.965 [error] <0.414.0>@ejabberd_sql:log:950 p1_mysql_conn: post_start error connect_failed
2018-05-15 21:40:05.965 [info] <0.414.0>@ejabberd_sql:connecting:339 mysql connection failed:
**原因:connect_failed **之后重试:30秒
MySQL server:
sql_type: mysql
sql_server: "ejabberd"
sql_database: "ejabberd"
sql_username: "ejabberd"
sql_password: ""
sql_port: 3306
default_db:sql
sql_pool_size:10
new_sql_schema:true
管理员:
user:
## - “admin @ localhost”
- "admin@server"
s2s_shaper:fast
模块:
mod_admin_update_sql:{}
mod_roster:
db_type: sql
default: always
答案 0 :(得分:0)
遵循以下步骤 如果您只想迁移数据,请按相同顺序在https://docs.ejabberd.im/admin/databases/mysql/文档ejabberd中使用,不要在后端提及身份验证## auth_method:sql。
[tpr,fpr,thresholds] = roc(testy,predy);
plotroc(testy,predy)