Skip to content
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

[Optimization] modify default password #3183

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dinky-admin/src/main/resources/db/db-h2-dml.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ VALUES ( 1, 'DefaultTenant', 0, 'DefaultTenant', '2022-12-13 05:27:19'
, '2022-12-13 05:27:19');

INSERT INTO `dinky_user`
VALUES ( 1, 'admin', 1, '21232f297a57a5a743894a0e4a801fc3', 'Admin', 'Dinky-001'
VALUES ( 1, 'admin', 1, 'f4b3a484ee745b98d64cd69c429b2aa2', 'Admin', 'Dinky-001'
, null, '17777777777', 1, 1, 0, '2022-12-13 05:27:19'
, '2022-12-13 05:27:19');

Expand Down
2 changes: 2 additions & 0 deletions docs/docs/deploy_guide/docker_deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ docker run --restart=always -p 8888:8888 -p 8081:8081 -e MYSQL_ADDR=10.255.7.3:

:::tip 说明
如果 `docker image` 需要加速,请把 `dinkydocker` 替换成 `registry.cn-hangzhou.aliyuncs.com/dinky`

默认用户名/密码: admin/dinky123!@# ,如需修改,请使用默认用户名/密码登录后,在`认证中心`->`用户`中修改
:::

### 环境变量
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/deploy_guide/normal_deploy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ sh auto.sh start 1.16
```

:::tip 说明
服务启动后,默认端口 8888,[http://127.0.0.1:8888](http://127.0.0.1:8888) , 默认用户名/密码: admin/admin
服务启动后,默认端口 8888,[http://127.0.0.1:8888](http://127.0.0.1:8888) , 默认用户名/密码: admin/dinky123!@# ,如需修改,请使用默认用户名/密码登录后,在`认证中心`->`用户`中修改

Dinky 部署需要 MySQL5.7 以上版本

Expand Down
1 change: 1 addition & 0 deletions docs/docs/deploy_guide/upgrade/upgrade_075to100.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ title: 0.7.5 升级到 1.0.0
1. 本文档为 Dinky v1.0.0 版本升级文档, 适用于从 0.7.5 升级到 1.0.0 版本.
2. 自 0.7.5 升级到 1.0.0 变化较大,存在部分不兼容变更,如果作业数量不多的情况下,建议重新建库部署,手动迁移任务.
3. 如果作业数量较大,建议先进行备份,然后执行升级脚本.但是升级脚本无法完全平滑升级,可能会存在部分数据丢失的情况,请谨慎操作.
4. 自 Dinky v1.0.0 之后, 默认密码为: dinky123!@#

:::

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/developer_guide/local_debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ spring:

如果在 [启动前端](#启动前端) 未成功启动, 则需要先启动前端, 再访问 127.0.0.1:8000

注意: 默认用户名/密码为 admin/admin
注意: 默认用户名/密码为 admin/dinky123!@# ,如需修改,请使用默认用户名/密码登录后,在`认证中心`->`用户`中修改
:::

:::tip 说明
Expand Down
2 changes: 1 addition & 1 deletion script/sql/dinky-mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,7 @@ CREATE TABLE `dinky_user` (
-- ----------------------------
INSERT INTO dinky_user
(id, username, user_type, password, nickname, worknum, avatar, mobile, enabled, super_admin_flag, is_delete, create_time, update_time)
VALUES (1, 'admin', 0, '21232f297a57a5a743894a0e4a801fc3', 'Admin', 'Dinky-001', null, '17777777777', 1, 1, 0, '2022-12-13 05:27:19', '2023-07-28 23:22:52');
VALUES (1, 'admin', 0, 'f4b3a484ee745b98d64cd69c429b2aa2', 'Admin', 'Dinky-001', null, '17777777777', 1, 1, 0, '2022-12-13 05:27:19', '2023-07-28 23:22:52');

-- ----------------------------
-- Table structure for dinky_user_role
Expand Down
2 changes: 1 addition & 1 deletion script/sql/dinky-pg.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2917,7 +2917,7 @@ COMMENT ON TABLE "public"."dinky_user" IS 'user';
-- Records of dinky_user
-- ----------------------------
INSERT INTO "public"."dinky_user"
VALUES (1, 'admin', 1, '21232f297a57a5a743894a0e4a801fc3', 'Admin', 'Dinky-001', null, '17777777777', 1, 1, 0,
VALUES (1, 'admin', 1, 'f4b3a484ee745b98d64cd69c429b2aa2', 'Admin', 'Dinky-001', null, '17777777777', 1, 1, 0,
'2022-12-13 05:27:19', '2022-12-13 05:27:19');

select setval('public.dinky_user_id_seq', (select max(id) from public.dinky_user));
Expand Down
1 change: 1 addition & 0 deletions script/sql/upgrade/1.0.0_schema/mysql/dinky_dml.sql
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,7 @@ UPDATE dinky_flink_document t SET t.subtype = 'OTHER_FUNCTION' WHERE t.subtype =



update dinky_user set `password`= 'f4b3a484ee745b98d64cd69c429b2aa2' where `username` = 'admin' and `id` =1;



Expand Down
Loading