From 6cc20b951d90ac686de5979cf49b78a836a25d18 Mon Sep 17 00:00:00 2001 From: Adrian Robert Date: Fri, 14 Feb 2020 14:12:35 +0200 Subject: [PATCH 1/3] Add troubleshooting note about host-mapped volume issue with MariaDB on Windows/Mac. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 090165a..ad5cab9 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,14 @@ Fix it with: ``` sudo chmod -Rf 755 /path/to/project ``` + +If you get errors about activating InnoDB and you are on Windows or Mac, you +may be encountering [this +issue](https://github.com/docker-library/mariadb/issues/95) with using +host-mapped volumes for MariaDB. There is a fix but not in the version of +MariaDB in Alpine 3.11. Work-around is to use a persistent but not mapped +volume, or overwrite my.cnf config before entry. + If missing libs please let me know or create a pull request ## Repos From 65ce1576f1e912fc5d74dd9fbfca28f95c71c1fe Mon Sep 17 00:00:00 2001 From: Adrian Robert Date: Fri, 14 Feb 2020 16:44:10 +0200 Subject: [PATCH 2/3] Clarify the work-arounds. --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ad5cab9..b6793f5 100644 --- a/README.md +++ b/README.md @@ -46,9 +46,10 @@ sudo chmod -Rf 755 /path/to/project If you get errors about activating InnoDB and you are on Windows or Mac, you may be encountering [this issue](https://github.com/docker-library/mariadb/issues/95) with using -host-mapped volumes for MariaDB. There is a fix but not in the version of -MariaDB in Alpine 3.11. Work-around is to use a persistent but not mapped -volume, or overwrite my.cnf config before entry. +host-mapped volumes for MariaDB. There is a +[fix](https://github.com/xrnl/extinction-rebellion-nl/pull/41) but not in the +version of MariaDB in Alpine 3.11. Work-around is to use a named volume +(persistent but not mapped), or [add/overwrite mysql config](https://github.com/docker-library/mariadb/issues/95#issuecomment-391587301) before entry. If missing libs please let me know or create a pull request From 11969af04af2e5f4fe6ce4489b96e44cfb799631 Mon Sep 17 00:00:00 2001 From: Adrian Robert Date: Fri, 14 Feb 2020 16:50:10 +0200 Subject: [PATCH 3/3] In fact the fix referenced only applies to MariaDB container which this container does not reference. --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index b6793f5..720f559 100644 --- a/README.md +++ b/README.md @@ -46,9 +46,7 @@ sudo chmod -Rf 755 /path/to/project If you get errors about activating InnoDB and you are on Windows or Mac, you may be encountering [this issue](https://github.com/docker-library/mariadb/issues/95) with using -host-mapped volumes for MariaDB. There is a -[fix](https://github.com/xrnl/extinction-rebellion-nl/pull/41) but not in the -version of MariaDB in Alpine 3.11. Work-around is to use a named volume +host-mapped volumes for MariaDB. Work-around is to use a named volume (persistent but not mapped), or [add/overwrite mysql config](https://github.com/docker-library/mariadb/issues/95#issuecomment-391587301) before entry. If missing libs please let me know or create a pull request