Skip to content

Commit

Permalink
Add a prefix to the custom mysql auth config name.
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickcarlohickman committed Feb 5, 2024
1 parent 81ae875 commit 47ca105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/installers/install-mysql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ usermod -d /var/lib/mysql/ mysql
if [[ -n "${MYSQL_AUTH_PLUGIN}" ]]; then
log_info "Setting up mysql default authentication plugin."

cat << EOF > "/etc/mysql/mysql.conf.d/auth.cnf"
cat << EOF > "/etc/mysql/mysql.conf.d/z_auth.cnf"
[mysqld]
default_authentication_plugin=${MYSQL_AUTH_PLUGIN}
EOF
Expand Down

0 comments on commit 47ca105

Please sign in to comment.