mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2024-11-26 20:47:10 +00:00
Better way to create DB
This commit is contained in:
parent
5623607e4f
commit
a5c560307a
@ -89,9 +89,9 @@ ainsi qu'un user med et un mot de passe associé.
|
||||
Voici les étapes à executer pour MySQL :
|
||||
|
||||
```SQL
|
||||
CREATE DATABASE med;
|
||||
CREATE USER 'med'@'localhost' IDENTIFIED BY 'password';
|
||||
GRANT ALL PRIVILEGES ON med.* TO 'med'@'localhost';
|
||||
CREATE DATABASE `club-med-cartons` CHARACTER SET utf8;
|
||||
CREATE USER `club-med-cartons`@`localhost` IDENTIFIED BY 'MY_SUPER_SECRET_PASSWORD'
|
||||
GRANT ALL PRIVILEGES ON `club-med-cartons`.* TO `club-med-cartons`@`localhost`;
|
||||
FLUSH PRIVILEGES;
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user