-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker版的有bug,默认账号密码无法登录 #48
Comments
确保数据库服务启动起来了 |
/bin/sh -c /run.sh |
默认用户名:admin,密码:wafadmin,但是提示还要输入动态口令,随便输个123456就可以登入了。 |
docker版可以通过docker logs wafdb查看mysql数据库启动错误日志,通常是虚拟机的cpu不支持x86-64-v2指令集造成的,可以设置下虚拟机的cpu支持设置 |
看看数据库配置是否异常,如果数据库连不上也会报用户名或密码错误,如果想要使用自定义MySQL信息,请同时修改两个地方的配置: |
连接上数据库 TRUNCATE TABLE waf_users;
INSERT INTO `waf_users` VALUES (1, 'admin', '$2a$10$novLr.VMetYWbdwb2701Ie2HmfpW8TmsXtQ5hLPYJoaPXbtSfGnSC', 0, '2024-01-26 11:56:14', 0, 'otpauth://totp/uuWAF:admin?algorithm=SHA256&digits=6&issuer=uuWAF&period=30&secret=EXKFN3EFNMBUDZVRPR6SB6EWYNIFXJW2', 1); 默认用户名:admin,密码:wafadmin |
默认的账号密码提示错误无法登录,docker版
#44
The text was updated successfully, but these errors were encountered: