Quellcode durchsuchen

fix: mysql service down after startup

Shao Yu-Lung (Allen) vor 1 Jahr
Ursprung
Commit
923cded79a
2 geänderte Dateien mit 0 neuen und 6 gelöschten Zeilen
  1. 0 2
      mysql/Dockerfile
  2. 0 4
      mysql/my.cnf

+ 0 - 2
mysql/Dockerfile

@@ -15,6 +15,4 @@ COPY my.cnf /etc/mysql/conf.d/my.cnf
 
 RUN chmod 0444 /etc/mysql/conf.d/my.cnf
 
-CMD ["mysqld"]
-
 EXPOSE 3306

+ 0 - 4
mysql/my.cnf

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