mirror of
https://gitlab.com/manzerbredes/paper-lowrate-iot.git
synced 2025-04-19 04:09:43 +00:00
9 lines
238 B
MySQL
9 lines
238 B
MySQL
![]() |
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'@'%';
|
||
|
|