|
Lines 17-23
Link Here
|
| 17 |
|
17 |
|
| 18 |
<refnamediv> |
18 |
<refnamediv> |
| 19 |
<refname>koha-mysql</refname> |
19 |
<refname>koha-mysql</refname> |
| 20 |
<refpurpose>Provide an interactive mysql shell set up for the specified koha instance.</refpurpose> |
20 |
<refpurpose>Provide an interactive mysql shell set up for the specified Koha instance.</refpurpose> |
| 21 |
<refclass>UNIX/Linux</refclass> |
21 |
<refclass>UNIX/Linux</refclass> |
| 22 |
</refnamediv> |
22 |
</refnamediv> |
| 23 |
|
23 |
|
|
Lines 28-34
Link Here
|
| 28 |
</refsynopsisdiv> |
28 |
</refsynopsisdiv> |
| 29 |
|
29 |
|
| 30 |
<refsect1><title>Description</title> |
30 |
<refsect1><title>Description</title> |
| 31 |
<para>Provide an interactive mysql shell set up for the specified koha instance.</para> |
31 |
<para>Provide an interactive mysql shell set up for the specified Koha instance.</para> |
|
|
32 |
</refsect1> |
| 33 |
|
| 34 |
<refsect1><title>Example usage</title> |
| 35 |
<variablelist> |
| 36 |
<varlistentry> |
| 37 |
<term>Send an SQL query to MySQL</term> |
| 38 |
<listitem> |
| 39 |
<para>"Some SQL query" | <command>koha-mysql</command> <arg choice="req" rep="norepeat"><replaceable>instancename</replaceable></arg></para> |
| 40 |
</listitem> |
| 41 |
</varlistentry> |
| 42 |
<varlistentry> |
| 43 |
<term>Load a database dump (e.g. one produced by mysqldump) into the database of the given instance</term> |
| 44 |
<listitem> |
| 45 |
<para><command>koha-mysql</command> <arg choice="req" rep="norepeat"><replaceable>instancename</replaceable></arg> < /path/to/mysqldump.sql</para> |
| 46 |
</listitem> |
| 47 |
</varlistentry> |
| 48 |
</variablelist> |
| 32 |
</refsect1> |
49 |
</refsect1> |
| 33 |
|
50 |
|
| 34 |
<refsect1><title>See also</title> |
51 |
<refsect1><title>See also</title> |
| 35 |
- |
|
|