Skip to content

Commit

Permalink
Update sail (#674)
Browse files Browse the repository at this point in the history
When attempting to login to mariadb, use the mariadb command instead of mysql.
  • Loading branch information
halfbaked committed Mar 4, 2024
1 parent 4d4931b commit 0577774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/sail
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ elif [ "$1" == "mariadb" ]; then
ARGS+=(exec)
[ ! -t 0 ] && ARGS+=(-T)
ARGS+=(mariadb bash -c)
ARGS+=("MYSQL_PWD=\${MYSQL_PASSWORD} mysql -u \${MYSQL_USER} \${MYSQL_DATABASE}")
ARGS+=("MYSQL_PWD=\${MYSQL_PASSWORD} mariadb -u \${MYSQL_USER} \${MYSQL_DATABASE}")
else
sail_is_not_running
fi
Expand Down

0 comments on commit 0577774

Please sign in to comment.