Skip to content

Commit 2e97543

Browse files
committed
Force mysql to run, in case it throws unknown table errors to still continue to execute the rest of the SQL statements
1 parent 0e14781 commit 2e97543

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Usage: check how many orphaned rows you have
99

1010
These queries are safe to run, but if you have a large database please note that these can take a while (read: a few hours is normal).
1111

12-
user@host-$ mysql zabbix < checkscript.sql
12+
user@host-$ mysql -f zabbix < checkscript.sql
1313

1414
Usage: delete the orphaned rows
1515
===============================
1616

1717
Use the queries above on your won risk. Take *backups* first. Once you have back-ups, go ahead and be brave.
1818

19-
user@host-$ mysql zabbix < cleanup.sql
19+
user@host-$ mysql -f zabbix < cleanup.sql

0 commit comments

Comments
 (0)