From c57f367bcfb731f47480283fa8fbbd82db86072b Mon Sep 17 00:00:00 2001 From: whirigoyen Date: Tue, 25 Oct 2022 15:25:54 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20d=C3=A9sactivation=20instance=20par=20d?= =?UTF-8?q?=C3=A9faut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoMySQL.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HowtoMySQL.md b/HowtoMySQL.md index 202fdc0b..e0b533ce 100644 --- a/HowtoMySQL.md +++ b/HowtoMySQL.md @@ -1544,6 +1544,12 @@ Ainsi que rajouter ces lignes dans `/etc/mysql/conf.d/50-multi.cnf` : user = mysqladmin ~~~ +Désactiver l'instance par défaut (qui écoute sur le port 3306) si elle n'est pas nécessaire : + +~~~ +systemctl disable --now mariadb +~~~ + Créer un utilisateur dédié pour l'instance : ~~~