Skip to content

Commit a70ee36

Browse files
committed
Keep using old root authentication method behaviour for new MariaDB versions
1 parent 8d28b12 commit a70ee36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/mysql_persistent.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if [ ! -S "$SOCKET" ]; then
2626
rm -rf "$DATA_DIR"
2727
fi
2828
mkdir -p "$DATA_DIR"
29-
mysql_install_db --no-defaults --datadir="$DATA_DIR" &>> "$LOG"
29+
mysql_install_db --auth-root-authentication-method=normal --no-defaults --datadir="$DATA_DIR" &>> "$LOG"
3030
${MYSQLD} --no-defaults --skip-log-bin --general-log=true --general-log-file="$LOG" --datadir="$DATA_DIR" --skip-networking --socket="$SOCKET" >&3 2>&3 &
3131
N=0
3232
while [ ! -S "$SOCKET" ]; do

0 commit comments

Comments
 (0)