Skip to content

Commit

Permalink
fix: mysql service down after startup
Browse files Browse the repository at this point in the history
  • Loading branch information
bestlong committed Oct 18, 2023
1 parent 955d66d commit 923cded
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions mysql/Dockerfile
Expand Up @@ -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
4 changes: 0 additions & 4 deletions mysql/my.cnf
Expand Up @@ -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"

0 comments on commit 923cded

Please sign in to comment.