diff --git a/scrape/init.sh b/scrape/init.sh new file mode 100755 index 0000000..ae7188e --- /dev/null +++ b/scrape/init.sh @@ -0,0 +1,2 @@ +#!/bin/bash +mysql -p -u root < init.sql diff --git a/scrape/init.sql b/scrape/init.sql new file mode 100644 index 0000000..a89a1d0 --- /dev/null +++ b/scrape/init.sql @@ -0,0 +1,4 @@ +CREATE DATABASE hscd; +USE hscd; +CREATE USER 'hscd'@'localhost'; +GRANT ALL PRIVILEGES ON hscd . * to 'hscd'@'localhost';