Add G5K scripts

This commit is contained in:
Loic Guegan 2019-04-19 16:46:19 +02:00
parent ceabb2d95d
commit 5720cf71f4
3 changed files with 167 additions and 0 deletions

8
g5k/setup-mysql.sql Normal file
View file

@ -0,0 +1,8 @@
create DATABASE IF NOT EXISTS experiment;
use experiment;
create TABLE IF NOT EXISTS temperature (id INTEGER,stamp INTEGER, val INTEGER);
use mysql;
CREATE USER 'user'@'%' IDENTIFIED BY 'mysql';
GRANT ALL ON experiment.* TO 'user'@'%';