X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=debian%2Fdocs%2Fkoha-mysql.xml;h=f0360beea68b3029ec1798cb940b7f61b9c5c6a4;hb=765c28c8e3a7e11afac1a061ebd296f18f3ef8a5;hp=b8079ced70277d3f8610ae564b5e8d550d8320e3;hpb=c0234dd9b9649063acf2617fecf5c6efda38a532;p=koha.git
diff --git a/debian/docs/koha-mysql.xml b/debian/docs/koha-mysql.xml
index b8079ced70..f0360beea6 100644
--- a/debian/docs/koha-mysql.xml
+++ b/debian/docs/koha-mysql.xml
@@ -3,7 +3,7 @@
Koha is the first free software library automation package.
- The Koha Communnity
+ The Koha Community
http://koha-community.org/
@@ -17,22 +17,52 @@
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
+
+
+ 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)