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)