Ver Fonte

Makes easy login into mysql server

Avoid pass user flag and password flag to mysql command into mysql container for log in mysql server that's running.
Jean Bonilha há 4 anos atrás
pai
commit
631c289de6
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      mysql/my.cnf

+ 4 - 0
mysql/my.cnf

@@ -9,3 +9,7 @@
 sql-mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"
 character-set-server=utf8
 default-authentication-plugin=mysql_native_password
+
+[client]
+user=root
+password="root"