From 7b3994541020cad97ab906217964bfdb66896400 Mon Sep 17 00:00:00 2001 From: Christopher Bisom Date: Mon, 15 Apr 2024 22:26:17 -0400 Subject: [PATCH] fix mysql comment --- backend/src/init_db/init_db.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/init_db/init_db.sql b/backend/src/init_db/init_db.sql index cefd2ab..faaae5b 100644 --- a/backend/src/init_db/init_db.sql +++ b/backend/src/init_db/init_db.sql @@ -1,14 +1,14 @@ ---We allow "user" to connect to commonplace_dev_db for whatever IP docker assigns +-- We allow "user" to connect to commonplace_dev_db for whatever IP docker assigns CREATE DATABASE IF NOT EXISTS commonplace_dev_db; CREATE USER IF NOT EXISTS 'user'@'%' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON commonplace_dev_db.* TO 'user'@'%'; ---We allow "user" to connect to commonplace_test_db for whatever IP docker assigns +-- We allow "user" to connect to commonplace_test_db for whatever IP docker assigns CREATE DATABASE IF NOT EXISTS commonplace_test_db; CREATE USER IF NOT EXISTS 'user'@'%' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON commonplace_test_db.* TO 'user'@'%'; ---We haven't configured local SSL, so we'll use mysql_native_password instead of caching_sha2_password +-- We haven't configured local SSL, so we'll use mysql_native_password instead of caching_sha2_password ALTER USER 'user'@'%' IDENTIFIED WITH mysql_native_password BY 'password'; FLUSH PRIVILEGES;