Moved database initialization to its own script
This commit is contained in:
1 parent
2401fb2135
commit
cdfa53ec37
2 files changed
+8
-5
No files matched your search
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
mysql -uroot -pgeheim --host 127.0.0.1 << EOF
|
||||
CREATE DATABASE IF NOT EXISTS KEYSTONE;
|
||||
GRANT ALL PRIVILEGES ON KEYSTONE.* TO 'keystone'@'localhost' IDENTIFIED BY 'keystone';
|
||||
GRANT ALL PRIVILEGES ON KEYSTONE.* TO 'keystone'@'%' IDENTIFIED BY 'keystone';
|
||||
EOF
|
||||
Reference in new issue
Block a user