Skip to content

Commit 0577774

Browse files
authored
Update sail (#674)
When attempting to login to mariadb, use the mariadb command instead of mysql.
1 parent 4d4931b commit 0577774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/sail

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ elif [ "$1" == "mariadb" ]; then
482482
ARGS+=(exec)
483483
[ ! -t 0 ] && ARGS+=(-T)
484484
ARGS+=(mariadb bash -c)
485-
ARGS+=("MYSQL_PWD=\${MYSQL_PASSWORD} mysql -u \${MYSQL_USER} \${MYSQL_DATABASE}")
485+
ARGS+=("MYSQL_PWD=\${MYSQL_PASSWORD} mariadb -u \${MYSQL_USER} \${MYSQL_DATABASE}")
486486
else
487487
sail_is_not_running
488488
fi

0 commit comments

Comments
 (0)