Are there any ways to set specified default username and password in TiDB docker-compose file?

Based on TiDB official docker compose article, it sets default username/password to root/“”

https://docs.pingcap.com/zh/tidb/v3.0/deploy-test-cluster-using-docker-compose

Does anyone know how to set default username/password in the following YAML? ex: tidb/passwd

docker-compose.yml is in the following link:

https://github.com/pingcap/tidb-docker-compose

Hello, currently TiDB compose does not support changing the default login account password during deployment. If you have this requirement, please refer to the related documentation of TiDB Operator.

ps. Tidb Compose is only a QA environment

https://docs.pingcap.com/tidb-in-kubernetes/stable/initialize-a-cluster#initialize-a-tidb-cluster-in-kubernetes

1 个赞

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。