Ver código fonte

Remove localhost access to database (only need container access for docker)

https
jakobsn 6 anos atrás
pai
commit
5a2eb9ba32
1 arquivos alterados com 5 adições e 1 exclusões
  1. +5
    -1
      mysql/sql/init.sql

+ 5
- 1
mysql/sql/init.sql Ver arquivo

@@ -143,4 +143,8 @@ Create default database user

CREATE USER 'root'@'10.5.0.6' IDENTIFIED BY 'root';
GRANT ALL PRIVILEGES ON db.* TO 'root'@'10.5.0.6';
/*GRANT ALL PRIVILEGES ON db.* TO 'root'@'localhost';*/

/*
Can be used to connect local webserver to the database
GRANT ALL PRIVILEGES ON db.* TO 'root'@'localhost';
*/

Carregando…
Cancelar
Salvar