Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
631c289de6
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  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"