Skip to content

Commit

Permalink
fixed db healthcheck envs - fixed #1
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvAmBass authored Aug 24, 2023
1 parent e7f711d commit da53b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/healthchecks.d/database.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
echo 'SHOW TABLES;' | mysql -h db -u zmuser -pzmpass zm 2>/dev/null >/dev/null || exit 1
echo 'SHOW TABLES;' | mysql -h "$ZM_DB_HOST" -u "$ZM_DB_USER" -p"$ZM_DB_PASS" "$ZM_DB_NAME" 2>/dev/null >/dev/null || exit 1

0 comments on commit da53b94

Please sign in to comment.