[Koha-bugs] [Bug 7426] New: Let koha-mysql pass on SQL to mysql -e
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 9 20:10:30 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7426
Bug #: 7426
Summary: Let koha-mysql pass on SQL to mysql -e
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: master
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Packaging
AssignedTo: robin at catalyst.net.nz
ReportedBy: magnus at enger.priv.no
QAContact: ian.walls at bywatersolutions.com
koha-mysql can be used to "provide an interactive mysql shell set up for the
specified koha instance".
With an option for SQL input, koha-mysql could turn something like this:
koha-mysql -e "some sql" instancename
into this:
mysql --host="$mysqlhost" --user="$mysqluser" --password="$mysqlpass" -e "some
sql" "$mysqldb"
This might be handy for e.g. updating a syspref in multiple installations.
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list