04-03-2022
This commit is contained in:
@@ -51,7 +51,7 @@ et donner les privilèges à un utilisateur (existant) sur cette base:
|
||||
MariaDB [(none)]> GRANT ALL ON bdd.* TO 'theuser'@'localhost';
|
||||
Query OK, 0 rows affected (0.021 sec)
|
||||
|
||||
MariaDB [(none)]> FLUSH PRIVILEGES
|
||||
MariaDB [(none)]> FLUSH PRIVILEGES;
|
||||
```
|
||||
|
||||
ou à un utilisateur qui n'existe pas encore:
|
||||
@@ -60,7 +60,7 @@ ou à un utilisateur qui n'existe pas encore:
|
||||
MariaDB [(none)]> GRANT ALL ON bdd.* TO 'matrix'@'localhost' IDENTIFIED BY 'password';
|
||||
Query OK, 0 rows affected (0.030 sec)
|
||||
|
||||
MariaDB [(none)]> FLUSH PRIVILEGES
|
||||
MariaDB [(none)]> FLUSH PRIVILEGES;
|
||||
```
|
||||
|
||||
L'utilisateur 'matrix' sera crée.
|
||||
|
||||
Reference in New Issue
Block a user