Skip to content

Commit

Permalink
conf.d for 9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
themark147 committed Dec 13, 2024
1 parent 0b41359 commit 032c6bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/mysql-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

if [[ "$MYSQL_VERSION" =~ ^5\.6 ]]; then
exec docker-entrypoint.sh mysqld --local-infile --port=3306 --default-authentication-plugin=mysql_native_password
elif [[ "$MYSQL_VERSION" =~ ^9.[0-1] ]]; then
exec docker-entrypoint.sh mysqld --local-infile --port=3306 --upgrade=FORCE
else
exec docker-entrypoint.sh mysqld --local-infile --port=3306 --upgrade=FORCE --caching-sha2-password-auto-generate-rsa-keys=ON
exec docker-entrypoint.sh mysqld --local-infile --port=3306 --mysql-native-password=ON
fi
6 changes: 6 additions & 0 deletions docker/mysql-ssl/9.1/conf.d/ssl.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[mysqld]

ssl-ca = /ssl-cert/ca-cert.pem
ssl-cert = /ssl-cert/server-cert.pem
ssl-key = /ssl-cert/server-key.pem
require_secure_transport = ON

0 comments on commit 032c6bb

Please sign in to comment.