From 44f59a0f961bff1cbaafed49e9fc661aad655225 Mon Sep 17 00:00:00 2001 From: tomit4 Date: Thu, 26 Aug 2021 14:40:29 -0700 Subject: [PATCH] updated startup info for mariadb --- mysql_notes.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/mysql_notes.txt b/mysql_notes.txt index 7a477129..5335a2c3 100644 --- a/mysql_notes.txt +++ b/mysql_notes.txt @@ -1,3 +1,15 @@ +// To have mariadb start on boot: +sudo systemctl enable mariadb + +// To disable mariadb from starting on boot: +sudo systemctl disable mariadb + +// To start mariadb manually: +sudo systemctl start mariadb.service + +To stop mariadb manually: +sudo systemctl stop mariadb.service + //To access root: mariadb -u root -p //and enter root password