@@ -, +, @@ --- debian/docs/koha-mysql.xml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) --- a/debian/docs/koha-mysql.xml +++ a/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) --