1
0
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:
Alexandre Iooss 2020-02-09 16:59:18 +01:00
parent 5623607e4f
commit a5c560307a
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02

View File

@ -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;
```