Koha-clms/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 Bug 10104 - Followup: fix param check 2013-05-01 21:59:27 -04:00
koha-dump Bug 10735: prevent koha-dump from aborting if backupdir undefined 2013-12-23 15:55:03 +00:00
koha-dump-defaults Bug 5509 - use an XML parser to get values from config 2011-04-28 13:35:25 +12:00
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 Bug 10101 - Follwup: fix param check 2013-05-01 22:00:51 -04:00
koha-enable-sip Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-foreach Bug 5510: prepend output with system name 2010-12-19 07:10:06 +13:00
koha-list Bug 10622: (follow-up) uppercase "SIP" in documentation and help text 2013-09-21 17:47:54 +00:00
koha-mysql Bug 6486 - add the koha-mysql command 2011-08-18 21:20:52 +12:00
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 Bug 9885 Passwords generated by command line scripts are weak 2013-03-30 21:39:43 -04:00
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 Bug 7216 - koha-restore does not correctly set home 2011-12-06 17:01:56 +01:00
koha-run-backups Bug 9260: stop koha-run-backups complaining "missing ]" 2012-12-21 08:11:39 -05:00
koha-shell Bug 8878 - a command to provide a shell with the koha environment 2012-12-20 08:01:46 -05:00
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 Add koha-upgrade-schema, a script to upgrade the database schema. 2010-05-25 07:59:35 -04:00
koha-upgrade-to-3.4 Bug 6651 - fix splitting of names when updating to 3.4 2011-09-13 10:29:12 +12:00