From fc6b5070b823f1bd78276414ac4021a64840eead Mon Sep 17 00:00:00 2001 From: emorino Date: Thu, 14 Dec 2017 17:31:28 +0100 Subject: [PATCH] =?UTF-8?q?Ajustement=20procedure=20cr=C3=A9ation=20instan?= =?UTF-8?q?ce=20mysql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoMySQL.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/HowtoMySQL.md b/HowtoMySQL.md index 5ae3ebc1..5347daca 100644 --- a/HowtoMySQL.md +++ b/HowtoMySQL.md @@ -1229,6 +1229,13 @@ Créer un utilisateur pour l'instance (il doit avoir un shell valide comme `/bin # useradd mysql-foo ~~~ +Créer le dossier qui va accueillir le *datadir* et donner les bon droits : + +~~~ +# mkrir -p /srv/mysql-instances/foo +# chown -R mysql-foo:mysql-foo /srv/mysql-instances +~~~ + Créer ensuite le *datadir* : ~~~