From 11034860c8958ac7e9b2a9f8fd405fdc0b156afb Mon Sep 17 00:00:00 2001 From: Mars Liu Date: Mon, 20 Jun 2022 10:51:47 +0800 Subject: [PATCH] add prepare sql --- gears/create_databaase/prepare.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 gears/create_databaase/prepare.sql diff --git a/gears/create_databaase/prepare.sql b/gears/create_databaase/prepare.sql new file mode 100644 index 0000000..087d457 --- /dev/null +++ b/gears/create_databaase/prepare.sql @@ -0,0 +1,7 @@ +create user 'joe'@'localhost' identified by 'joe'; + +create database studio; + +grant all privileges on *.* to `joe`@`localhost`; + +flush privileges ; \ No newline at end of file -- GitLab