[Koha-bugs] [Bug 12372] Make koha-mysql handle arbitrary mysql arguments

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 31 00:28:07 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12372

--- Comment #16 from Barton Chittenden <barton at bywatersolutions.com> ---
Updated man page:

KOHA-MYSQL(8)

NAME
       koha-mysql - Provide a mysql shell set up for the specified Koha
instance.

SYNOPSIS
       koha-mysql {instancename} [mysql option...]

DESCRIPTION
       Provide a mysql shell set up for the specified Koha instance.

EXAMPLE USAGE
       Run interactive mysql shell for speicified Koha instance
           koha-mysql {instancename}

       Run a query given as an argument without launching mysql shell
           koha-mysql {instancename} -e "SOME SQL QUERY"

       Run a query, skip column names on output
           koha-mysql {instancename} -e "SOME SQL QUERY" --skip-column-names

       Load a database dump (e.g. one produced by mysqldump) into the database
of the given instance
           koha-mysql {instancename} < /path/to/mysqldump.sql

SEE ALSO
       mysql (1), koha-dump-defaults(8), koha-reset-passwd(8),
koha-upgrade-schema(8)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list