From 72372e389566442c5022959a567df24ea0a4034d Mon Sep 17 00:00:00 2001 From: Barton Chittenden Date: Thu, 30 Jul 2015 15:17:02 -0700 Subject: [PATCH] Bug 12372: 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 Signed-off-by: Tomas Cohen Arazi --- 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 80020a3f73..f0360beea6 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.39.5