Skip to content

Commit bb35422

Browse files
committed
fix: remove MySQL SSL option for test DB connections
The --ssl-mode=DISABLED option doesn't work in GitHub Actions. Community-standard fix: don't specify SSL options at all - MySQL defaults work for local test connections.
1 parent a50ea73 commit bb35422

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bin/_lib.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,6 @@ install_db() {
9292
fi
9393
fi
9494

95-
# Always disable SSL for local test DB connections (fixes WP 6.8+ DB creation issues)
96-
EXTRA="$EXTRA --ssl-mode=DISABLED"
97-
9895
# create database
9996
if [ $(mysql --user="$DB_USER" --password="$DB_PASS"$EXTRA --execute='show databases;' | grep ^$DB_NAME$) ]
10097
then

0 commit comments

Comments
 (0)