Koha/debian/scripts
Magnus Enger 25c932967f Bug 10782 - Add a koha-mysqlcheck script
This patch adds the koha-mysqlcheck script, as a "frontend" for
the mysqlcheck command. It can be used to check the integrity of
database tables, as well as to repair them. See "man mysqlcheck"
for more information.

The script takes a Koha instance name as its only required
parameter. Any other parameters provided before the instance
name are passed directly to mysqlcheck, which means that all
the functionality of mysqlcheck is available through this script.

To test the script:
- Apply the patch, build your own packages and install them, or
- copy koha-mysqlcheck to a server already running off packages

- Run some variations of the command, with and without arguments,
  and check that the output makes sense. E.g.:
    sudo koha-mysqlcheck myinstance
    sudo koha-mysqlcheck -e myinstance # Extended checks
    sudo koha-mysqlcheck -e -v myinstance # Extended checks and verbose
- See "man mysqlcheck" for other relevant options

To test the man page:
- Run these commands and look at the formatted man page:
    $ xsltproc /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl \
      debian/docs/koha-mysqlcheck.xml
    $ man -l koha-mysqlcheck.8
- Make sure this test passes:
    $ prove -v xt/verify-debian-docbook.t

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-04-23 12:30:06 +00:00
..
koha-create Bug 11509: (trivial rmaint followup) wrong parameter count 2014-02-10 15:19:52 +00:00
koha-create-dirs Bug 9890: fix plugin handling by koha-create and koha-create-dirs 2013-06-24 06:55:36 -07:00
koha-disable
koha-dump Bug 10735: prevent koha-dump from aborting if backupdir undefined 2013-12-23 15:55:03 +00:00
koha-dump-defaults
koha-email-disable Bug 10150 - koha-email-disable error handling 2013-05-02 15:04:57 -07:00
koha-email-enable Bug 10157 - koha-email-enable error handling 2013-05-15 08:13:17 -04:00
koha-enable
koha-enable-sip Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-foreach
koha-list Bug 10622: (follow-up) uppercase "SIP" in documentation and help text 2013-09-21 17:47:54 +00:00
koha-mysql
koha-mysqlcheck Bug 10782 - Add a koha-mysqlcheck script 2014-04-23 12:30:06 +00:00
koha-rebuild-zebra Bug 10379: silence zebra rebuild cron when no instances are enabled 2013-06-26 08:55:23 -07:00
koha-remove Bug 8507: koha-create now supports using DOM indexing for bibs 2013-08-13 14:25:53 +00:00
koha-reset-passwd
koha-restart-zebra Bug 10259 - koha-*-zebra scripts are expected to run without warnings if no instance name passed 2013-05-18 06:07:57 -04:00
koha-restore
koha-run-backups
koha-shell
koha-start-sip Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-start-zebra Bug 10670: ensure koha-start-zebra sets problem permissions for logs 2013-11-14 23:53:10 +00:00
koha-stop-sip Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-stop-zebra Bug 10259 - koha-*-zebra scripts are expected to run without warnings if no instance name passed 2013-05-18 06:07:57 -04:00
koha-translate Bug 11655: koha-translate --list no longer shows 'en' 2014-02-04 17:36:39 +00:00
koha-upgrade-schema
koha-upgrade-to-3.4