summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2019-04-20 11:03:39 +0200
committerFlorian Pritz <bluewind@xinu.at>2019-04-20 11:03:39 +0200
commit58f20099a62c1af5d3057ce4fc8e0ef5ed3e7872 (patch)
treee658a107ff44986253a2d768b47f1dfacfb19801 /docker
parentf707604ddadf27482ea7700932065cba6c828427 (diff)
docker: Fix PHP mysql authentication issue
Fixes #28 SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'docker')
-rw-r--r--docker/docker-compose.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 7450f6903..e6975682f 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -2,6 +2,7 @@ version: '2'
services:
mysql:
image: mysql
+ command: --default-authentication-plugin=mysql_native_password
environment:
- MYSQL_DATABASE=filebin
- MYSQL_USER=filebin