From 6d6fef3132a0cbfc186f7cf61f69a0d45e64aaa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20K=C3=A1cha?= <ph@cesnet.cz> Date: Mon, 10 Jan 2022 12:39:37 +0100 Subject: [PATCH] Update db doc --- warden_server/README | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/warden_server/README b/warden_server/README index a3b835e..68d3173 100644 --- a/warden_server/README +++ b/warden_server/README @@ -46,6 +46,10 @@ B. Dependencies python-m2crypto 0.20+ jsonschema 2.4+ + 3. Database + + MySQL | MariaDB >= 5.5 + ------------------------------------------------------------------------------ C. Installation @@ -62,10 +66,10 @@ C. Installation # mysql -p - mysql> CREATE DATABASE warden3; - mysql> GRANT ALL ON warden3.* TO `warden`@`localhost`; - mysql> SET PASSWORD FOR 'warden'@'localhost' = PASSWORD('example'); - mysql> FLUSH PRIVILEGES; + > CREATE DATABASE warden3; + > CREATE USER 'warden'@'localhost' IDENTIFIED BY 'example'; + > GRANT ALL ON warden3.* TO `warden`@`localhost`; + > FLUSH PRIVILEGES; * Create necessary table structure -- GitLab