Configure mysql 8.4 with "mysql_native_password" #7384
Unanswered
RPotkowaVegasystems
asked this question in
Q&A
Replies: 1 comment 7 replies
-
|
DDEV projects using PHP 5.6-7.3 with MySQL 8.0 and 8.4 default to To enforce hooks:
post-start:
- exec: mysql -e "ALTER USER 'db'@'%' IDENTIFIED WITH mysql_native_password BY 'db';"
service: db
- exec: mysql -e "ALTER USER 'db'@'localhost' IDENTIFIED WITH mysql_native_password BY 'db';"
service: db
- exec: mysql -e "ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root';"
service: db
- exec: mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';"
service: dbRun Note: |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need to use the "mysql_native_password", how can i configure ddev to use it?
Beta Was this translation helpful? Give feedback.
All reactions