You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This warning pops up in the logs of the database container when using MySQL 8. A recent update update of the MySQL image changed the default behavior to disable the login method mysql_native_password. It can be re-enabled with a flag when starting the server or via config file, but this will likely not last forever.
A solution would be to check how to access the database via the suggested caching_sha2_password method. I have found the following discussion on the topic: laravel/framework#51844
It could be as easy as changing the database driver in PHP from php-mysql over to php-mysqlnd, so this may be an issue better suited for the PHP nginx base container image?
The text was updated successfully, but these errors were encountered:
This warning pops up in the logs of the database container when using MySQL 8. A recent update update of the MySQL image changed the default behavior to disable the login method
mysql_native_password
. It can be re-enabled with a flag when starting the server or via config file, but this will likely not last forever.A solution would be to check how to access the database via the suggested
caching_sha2_password
method. I have found the following discussion on the topic: laravel/framework#51844It could be as easy as changing the database driver in PHP from
php-mysql
over tophp-mysqlnd
, so this may be an issue better suited for the PHP nginx base container image?The text was updated successfully, but these errors were encountered: