Tried using wordpress with mysql:latest docker image. I get the following error trying to connect to the DB:
Warning: mysqli_real_connect(): Unexpected server respose while doing caching_sha2 auth: 109 in /var/www/html/wp-includes/wp-db.php on line 1531
Warning: mysqli_real_connect(): MySQL server has gone away in /var/www/html/wp-includes/wp-db.php on line 1531
Warning: mysqli_real_connect(): (HY000/2006): MySQL server has gone away in /var/www/html/wp-includes/wp-db.php on line 1531
It would appear the mysql plugin is too old to support authenticating with the latest version of mysql? I had to bump down the auth to the old 5.x methodology to get this to work.
Excerpt from phpinfo();
mysqlnd
mysqlnd => enabled
Version => mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $
It seems pretty old to me?
Tried using wordpress with
mysql:latestdocker image. I get the following error trying to connect to the DB:It would appear the mysql plugin is too old to support authenticating with the latest version of mysql? I had to bump down the auth to the old 5.x methodology to get this to work.
Excerpt from
phpinfo();It seems pretty old to me?