percona / community

Percona Community repository. Join us on Percona.community and the Percona Forums at forums.percona.com.
https://percona.community
25 stars 60 forks source link

what is percona server docker 8.0 default root password? #879

Closed kolinfluence closed 7 months ago

kolinfluence commented 8 months ago

what is percona server docker 8.0 default root password?

dbazhenov commented 8 months ago

You need to use the environment variable MYSQL_ROOT_PASSWORD=root

https://docs.percona.com/percona-server/8.0/docker.html#starting-a-detached-container

If the variable is not set, then most likely the behavior is like MySQL, the password will be generated and provided in the terminal. https://stackoverflow.com/questions/62072977/whats-default-password-in-docker-container-mysql-server-when-you-dont-set-one