creation_d_un_utilisateur_et_de_sa_base_de_donnee_avec_mariadb
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
creation_d_un_utilisateur_et_de_sa_base_de_donnee_avec_mariadb [2021/09/04 21:57] – créée tomamplius | creation_d_un_utilisateur_et_de_sa_base_de_donnee_avec_mariadb [2023/06/14 11:44] (Version actuelle) – tomamplius | ||
---|---|---|---|
Ligne 3: | Ligne 3: | ||
create database IF NOT EXISTS dbname; | create database IF NOT EXISTS dbname; | ||
grant all privileges on dbname.* to dbuser@localhost; | grant all privileges on dbname.* to dbuser@localhost; | ||
+ | </ | ||
+ | |||
+ | User read only | ||
+ | < | ||
+ | CREATE USER dbuser@localhost IDENTIFIED BY ' | ||
+ | GRANT SELECT ON *.* TO dbuser@localhost | ||
</ | </ |
creation_d_un_utilisateur_et_de_sa_base_de_donnee_avec_mariadb.1630785468.txt.gz · Dernière modification : 2021/09/04 21:57 de tomamplius