Add a note about mysql_native_password next to our use of it

This commit is contained in:
Tianon Gravi 2022-06-08 17:11:02 -07:00
parent 1626938261
commit 06990e05c9
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ services:
db:
image: mysql
# NOTE: use of "mysql_native_password" is not recommended: https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password
# (this is just an example, not intended to be a production configuration)
command: --default-authentication-plugin=mysql_native_password
restart: always
environment: