Bugzilla – Attachment 41243 Details for
Bug 12372
Make koha-mysql handle arbitrary mysql arguments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated man pages for koha-mysql
Updated-man-pages-for-koha-mysql.patch (text/plain), 2.96 KB, created by
Barton Chittenden
on 2015-07-30 22:24:42 UTC
(
hide
)
Description:
Updated man pages for koha-mysql
Filename:
MIME Type:
Creator:
Barton Chittenden
Created:
2015-07-30 22:24:42 UTC
Size:
2.96 KB
patch
obsolete
>From be91a5a14190e29abcf9113d0abcfad768f65504 Mon Sep 17 00:00:00 2001 >From: Barton Chittenden <barton@bywatersolutions.com> >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 >--- > 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 @@ > > <refnamediv> > <refname>koha-mysql</refname> >- <refpurpose>Provide an interactive mysql shell set up for the specified Koha instance.</refpurpose> >+ <refpurpose>Provide a mysql shell set up for the specified Koha instance.</refpurpose> > <refclass>UNIX/Linux</refclass> > </refnamediv> > > <refsynopsisdiv> > <cmdsynopsis> >- <command>koha-mysql</command> <arg choice="req" rep="norepeat"><replaceable>instancename</replaceable></arg> >+ <command>koha-mysql</command> <arg choice="req" rep="norepeat"><replaceable>instancename</replaceable></arg> <arg choice="opt" rep="repeat">mysql option</arg> > </cmdsynopsis> > </refsynopsisdiv> > > <refsect1><title>Description</title> >- <para>Provide an interactive mysql shell set up for the specified Koha instance.</para> >+ <para>Provide a mysql shell set up for the specified Koha instance.</para> > </refsect1> > > <refsect1><title>Example usage</title> > <variablelist> > <varlistentry> >- <term>Send an SQL query to MySQL</term> >+ <term>Run interactive mysql shell for speicified Koha instance</term> > <listitem> >- <para>"Some SQL query" | <command>koha-mysql</command> <arg choice="req" rep="norepeat"><replaceable>instancename</replaceable></arg></para> >+ <para><command>koha-mysql</command> <arg choice="req" rep="norepeat"><replaceable>instancename</replaceable></arg></para> >+ </listitem> >+ </varlistentry> >+ <varlistentry> >+ <term>Run a query given as an argument without launching mysql shell</term> >+ <listitem> >+ <para><command>koha-mysql</command> <arg choice="req" rep="norepeat"><replaceable>instancename</replaceable></arg> -e "SOME SQL QUERY"</para> >+ </listitem> >+ </varlistentry> >+ <varlistentry> >+ <term>Run a query, skip column names on output</term> >+ <listitem> >+ <para><command>koha-mysql</command> <arg choice="req" rep="norepeat"><replaceable>instancename</replaceable></arg> -e "SOME SQL QUERY" --skip-column-names</para> > </listitem> > </varlistentry> > <varlistentry> >@@ -50,6 +62,7 @@ > > <refsect1><title>See also</title> > <simplelist type="inline"> >+ <member><command>mysql (1)</command></member> > <member><command>koha-dump-defaults(8)</command></member> > <member><command>koha-reset-passwd(8)</command></member> > <member><command>koha-upgrade-schema(8)</command></member> >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12372
:
40322
|
40323
|
40379
|
40526
|
40527
|
41243
|
41244
|
41245
|
41246
|
41247
|
41366
|
41367
|
41368