From 1ab4a6a97aab850aa496fccc8c26293c57561620 Mon Sep 17 00:00:00 2001
From: Loic Guegan <manzerberdes@gmx.com>
Date: Fri, 17 May 2019 09:53:09 +0200
Subject: Debug

---
 energyCloud/g5k/setup-mysql.sql | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 energyCloud/g5k/setup-mysql.sql

(limited to 'energyCloud/g5k/setup-mysql.sql')

diff --git a/energyCloud/g5k/setup-mysql.sql b/energyCloud/g5k/setup-mysql.sql
new file mode 100644
index 0000000..05042a3
--- /dev/null
+++ b/energyCloud/g5k/setup-mysql.sql
@@ -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'@'%';
+
-- 
cgit v1.2.3

