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