Adding sql init scripts
This commit is contained in:
parent
2a41b75ae5
commit
f1ce4990d4
2
scrape/init.sh
Executable file
2
scrape/init.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
mysql -p -u root < init.sql
|
4
scrape/init.sql
Normal file
4
scrape/init.sql
Normal file
@ -0,0 +1,4 @@
|
||||
CREATE DATABASE hscd;
|
||||
USE hscd;
|
||||
CREATE USER 'hscd'@'localhost';
|
||||
GRANT ALL PRIVILEGES ON hscd . * to 'hscd'@'localhost';
|
Loading…
Reference in New Issue
Block a user