feat: harden data access and simplify user management
This commit is contained in:
1 parent
3dd5731751
commit
adb780bc82
51 files changed
+3239
-2121
No files matched your search
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -Eeuo pipefail
|
||||
|
||||
# MySQL only runs docker-entrypoint-initdb.d scripts for a new data volume.
|
||||
# Run this once after upgrading an existing deployment so the dedicated
|
||||
# account-provisioning user receives its narrowly scoped privileges.
|
||||
docker compose exec -T mysql \
|
||||
sh /docker-entrypoint-initdb.d/01-data-center-grants.sh
|
||||
|
||||
echo "DBeaver 管理接入的独立 MySQL 签发账号已配置。"
|
||||
Reference in new issue
Block a user