-
-
Notifications
You must be signed in to change notification settings - Fork 693
Closed
Milestone
Description
ddev start with mysql:8.0 shows this output in ddev logs -s db:
2024-08-27T17:20:08.116145Z 17 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
It would be good to use the newer approach, if it doesn't break things.
This is in the initial setup, in create_db.sh:
ddev/containers/ddev-dbserver/files/create_base_db.sh
Lines 76 to 82 in 8900d5c
| if [ "${mysqld_version%%%.*}" = "8.0" ]; then | |
| mysql -uroot -proot <<EOF | |
| ALTER USER 'db'@'%' IDENTIFIED WITH mysql_native_password BY '$MYSQL_PASSWORD'; | |
| ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '$MYSQL_ROOT_PASSWORD'; | |
| ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '$MYSQL_ROOT_PASSWORD'; | |
| EOF | |
| fi |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels