We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0f7f15 + 5dba82a commit 8931f07Copy full SHA for 8931f07
mysqlfragfinder.sh
@@ -74,7 +74,7 @@ if [[ ! $mysqlPass ]]; then
74
fi
75
76
# Test connecting to the database:
77
-"${mysqlCmd}" -u"$mysqlUser" -p"$mysqlPass" -h"$mysqlHost" --skip-column-names --batch -e "show status" >/dev/null 2>&1
+"${mysqlCmd}" -u"$mysqlUser" -p"$mysqlPass" -h"$mysqlHost" --skip-column-names --batch -e "show status" >/dev/null 2>"$log"
78
if [[ $? -gt 0 ]]; then
79
echo "An error occured, check $log for more information.";
80
exit 1;
0 commit comments