mirror of
https://gitlab.com/manzerbredes/paper-lowrate-iot.git
synced 2025-04-17 11:23:00 +00:00
8 lines
238 B
SQL
8 lines
238 B
SQL
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'@'%';
|
|
|