mirror of
https://gitlab.com/manzerbredes/paper-lowrate-iot.git
synced 2025-06-07 15:17:40 +00:00
Add G5K scripts
This commit is contained in:
parent
ceabb2d95d
commit
5720cf71f4
3 changed files with 167 additions and 0 deletions
8
g5k/setup-mysql.sql
Normal file
8
g5k/setup-mysql.sql
Normal 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'@'%';
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue