From 54805fe28451c86318f8ff8ef18da1f0835a57f4 Mon Sep 17 00:00:00 2001 From: Derrick Date: Sun, 18 Jul 2021 22:39:56 -0600 Subject: README update: additional mariadb steps --- README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 9ab192f8..c61a4ddd 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,9 @@ This repository contains the code for the backend API server which is implemente cp sample.override.yml docker-compose.override.yml docker-compose up -d --force-recreate maria docker exec -i mariadb mysql -u root -ppassword < mysql/schema.sql + docker exec -i mariadb mysql -u root -ppassword -e "CREATE USER 'tester' IDENTIFIED BY 'pass';" + docker exec -i mariadb mysql -u root -ppassword -e "GRANT ALL PRIVILEGES ON *.* TO 'tester'@'%' IDENTIFIED BY 'pass';" + docker exec -i mariadb mysql -u root -ppassword -e "FLUSH PRIVILEGES;" docker-compose up Note the last step will take some time on first run as it will download the aforementioned docker images. -- cgit v1.2.3