Docker 无法使用默认值';测试';账户

Docker 无法使用默认值';测试';账户,docker,authentication,authorization,azerothcore,Docker,Authentication,Authorization,Azerothcore,我在Docker运行AzerothCore,但无法使用任何测试帐户登录。我正在使用默认密码“a”,并且没有更改任何密码 当尝试登录WotLK客户端时,我会弹出“您输入的信息无效”框。我可以从authserver日志中看到,它正在接收我输入的用户名: Added realm "AzerothCore" at 127.0.0.1:3306. Authserver listening to 0.0.0.0:3724 '172.18.0.1:56942' Accepting conn

我在Docker运行AzerothCore,但无法使用任何测试帐户登录。我正在使用默认密码“a”,并且没有更改任何密码

当尝试登录WotLK客户端时,我会弹出“您输入的信息无效”框。我可以从authserver日志中看到,它正在接收我输入的用户名:

Added realm "AzerothCore" at 127.0.0.1:3306.
Authserver listening to 0.0.0.0:3724
'172.18.0.1:56942' Accepting connection
[4 ms] SQL(p): DELETE FROM ip_banned WHERE unbandate<>bandate AND unbandate<=UNIX_TIMESTAMP()
[4 ms] SQL(p): SELECT * FROM ip_banned WHERE ip = '172.18.0.1'
[0 ms] SQL(p): SELECT a.id, a.locked, a.lock_country, a.last_ip, aa.gmlevel, a.salt, a.verifier, a.token_key FROM account a LEFT JOIN account_access aa ON (a.id = aa.id) WHERE a.username = 'TEST1'
[AuthChallenge] Account 'TEST1' is not locked to ip
[AuthChallenge] Account 'TEST1' is not locked to country
[1 ms] SQL(p): UPDATE account_banned SET active = 0 WHERE active = 1 AND unbandate<>bandate AND unbandate<=UNIX_TIMESTAMP()
[0 ms] SQL(p): SELECT bandate, unbandate FROM account_banned WHERE id = 1 AND active = 1
在127.0.0.1:3306添加了领域“艾泽拉斯核心”。
Authserver正在侦听0.0.0.0:3724
“172.18.0.1:56942”接受连接

[4 ms]SQL(p):从ip_中删除禁止,其中unbandatebandate和unbandate我也无法使用“test1”和“a”登录,但重置密码非常容易

在worldserver控制台中,将其粘贴到:

account set password test1 thisisthenewpassword thisisthenewpassword
account set password test2 thisisthenewpassword thisisthenewpassword
account set password test3 thisisthenewpassword thisisthenewpassword
account set password test4 thisisthenewpassword thisisthenewpassword
account set password test5 thisisthenewpassword thisisthenewpassword
account set password test6 thisisthenewpassword thisisthenewpassword
account set password test7 thisisthenewpassword thisisthenewpassword
account set password test8 thisisthenewpassword thisisthenewpassword
account set password test9 thisisthenewpassword thisisthenewpassword
account set password test10 thisisthenewpassword thisisthenewpassword
您还可以使用以下命令为自己创建一个具有完全GM权限的新帐户:

account create yourusername yourpassword
account set gmlevel yourusername 3 -1

太好了,这很有效!非常感谢。对于其他像我一样在这方面步履蹒跚的Noob(在Windows 10上运行),我打开Git Bash并通过输入:
winpty docker attach azerothcore-wotlk\u ac-worldserver\u 1连接到worldserver容器
我对Sleet的命令所做的唯一更改是在前面加上一个点:
。帐户设置密码test1 a