From 313f61fa9c341faf81750791bdeaf54259d9d73c Mon Sep 17 00:00:00 2001 From: Barton Chittenden Date: Thu, 30 Jul 2015 15:17:02 -0700 Subject: [PATCH] Updated man pages for koha-mysql http://bugs.koha-community.org/show_bug.cgi?id=12372 Signed-off-by: Liz Rea Signed-off-by: Jonathan Druart --- debian/docs/koha-mysql.xml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/debian/docs/koha-mysql.xml b/debian/docs/koha-mysql.xml index 80020a3..f0360be 100644 --- a/debian/docs/koha-mysql.xml +++ b/debian/docs/koha-mysql.xml @@ -17,26 +17,38 @@ koha-mysql - Provide an interactive mysql shell set up for the specified Koha instance. + Provide a mysql shell set up for the specified Koha instance. UNIX/Linux - koha-mysql instancename + koha-mysql instancename mysql option Description - Provide an interactive mysql shell set up for the specified Koha instance. + Provide a mysql shell set up for the specified Koha instance. Example usage - Send an SQL query to MySQL + Run interactive mysql shell for speicified Koha instance - "Some SQL query" | koha-mysql instancename + 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 @@ -50,6 +62,7 @@ See also + mysql (1) koha-dump-defaults(8) koha-reset-passwd(8) koha-upgrade-schema(8) -- 2.1.0