Skip to content

Commit 2d86ed2

Browse files
committed
Drop explicit "mysql_ssl_rsa_setup" invocation
> I _think_ the separate mysql_ssl_rsa_setup utility was mostly just relevant before we started linking openssl (for licensing issues), so this may no longer be needed for any versions? Also, this behavior can be controlled with the auto_generate_certs and sha256_password_auto_generate_rsa_keys settings. So by virtue of me being over 2 years late *cough*, I think this probably isn't needed any more :)
1 parent b06a707 commit 2d86ed2

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed

5.7/docker-entrypoint.sh

Lines changed: 0 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.0/docker-entrypoint.sh

Lines changed: 0 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

template/docker-entrypoint.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -192,13 +192,6 @@ docker_init_database_dir() {
192192
mysql_note "Initializing database files"
193193
"$@" --initialize-insecure --default-time-zone=SYSTEM
194194
mysql_note "Database files initialized"
195-
196-
if command -v mysql_ssl_rsa_setup > /dev/null && [ ! -e "$DATADIR/server-key.pem" ]; then
197-
# https://github.com/mysql/mysql-server/blob/23032807537d8dd8ee4ec1c4d40f0633cd4e12f9/packaging/deb-in/extra/mysql-systemd-start#L81-L84
198-
mysql_note "Initializing certificates"
199-
mysql_ssl_rsa_setup --datadir="$DATADIR"
200-
mysql_note "Certificates initialized"
201-
fi
202195
}
203196

204197
# Loads various settings that are used elsewhere in the script

0 commit comments

Comments
 (0)