Browse Source

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 4 years ago
parent
commit
631c289de6
1 changed files with 4 additions and 0 deletions
  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"