Update MariaDB user in installation documentation
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user