From 14f6dffe99da546cdb33a85ed3d9e7a0b0c2bf14 Mon Sep 17 00:00:00 2001 From: hexu Date: Thu, 12 Jan 2017 18:47:11 +0800 Subject: [PATCH] Fix bug on mariadb Bug on Docker for Mac when we change the database from mysql to mariadb. Maybe It is not a perfect fix. This fix will not share the same mysql volume, means we could not change database directly. We have to import the database to both database. But it will fix the Bug . Wish for better solution --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0e06bd81..d728dca2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -135,7 +135,7 @@ services: mariadb: build: ./mariadb volumes: - - mysql:/var/lib/mysql + - mariadb:/var/lib/mysql ports: - "3306:3306" environment: