From 8722f8908754b2a97d7e54ff72dc7018db612133 Mon Sep 17 00:00:00 2001 From: sietse jonker Date: Tue, 13 Feb 2024 22:31:16 +0100 Subject: [PATCH] Update MariaDB user in installation documentation --- docs/rpi-documentation/mariadb-installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rpi-documentation/mariadb-installation.md b/docs/rpi-documentation/mariadb-installation.md index b561b6b..9b4a303 100644 --- a/docs/rpi-documentation/mariadb-installation.md +++ b/docs/rpi-documentation/mariadb-installation.md @@ -31,7 +31,7 @@ Now we are logged in to the database. We have created our database by using the We have to create a user for the database. This is done by running the following command: ```sql -GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION; +GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION; ``` Replace username with the username you want to use and password with the password you want to use. This will create a user with all privileges on all databases. If you want to create a user with less privileges you can change the ALL PRIVILEGES to the privileges you want to give the user. We chose to give the user all privileges to make it easy for us to use the database.