Demosthene-OR commited on
Commit
ff6d992
1 Parent(s): 3aa0fac
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. script.sql +1 -1
Dockerfile CHANGED
@@ -36,7 +36,7 @@ ENV MYSQL_ROOT_PASSWORD=Rakuten
36
  ENV MYSQL_DATABASE=rakuten_db
37
 
38
  # Définir l'utilisateur root et son mot de passe
39
- ENV MYSQL_USER=root
40
  ENV MYSQL_PASSWORD=Rakuten
41
 
42
  # Expose the MySQL port
 
36
  ENV MYSQL_DATABASE=rakuten_db
37
 
38
  # Définir l'utilisateur root et son mot de passe
39
+ ENV MYSQL_USER=rakuten_admin@%
40
  ENV MYSQL_PASSWORD=Rakuten
41
 
42
  # Expose the MySQL port
script.sql CHANGED
@@ -1,4 +1,4 @@
1
- GRANT ALL PRIVILEGES ON *.* TO 'root' WITH GRANT OPTION;
2
  GRANT ALL PRIVILEGES ON *.* TO 'rakuten_admin'@'%' WITH GRANT OPTION;
3
  FLUSH PRIVILEGES;
4
 
 
1
+ GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
2
  GRANT ALL PRIVILEGES ON *.* TO 'rakuten_admin'@'%' WITH GRANT OPTION;
3
  FLUSH PRIVILEGES;
4