[Bug 7426] New: Let koha-mysql pass on SQL to mysql -e
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@catalyst.net.nz ReportedBy: magnus@enger.priv.no QAContact: ian.walls@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.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7426 --- Comment #1 from Robin Sheat <robin@catalyst.net.nz> 2012-01-09 20:19:25 UTC --- echo "some sql" | koha-mysql instancename does this. Also good for loading in dumps or whathaveyou. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7426 Magnus Enger <magnus@enger.priv.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #2 from Magnus Enger <magnus@enger.priv.no> 2012-01-10 15:12:48 UTC --- Ah, yes, I had a hunch there was something I was missing. Marking as resolved/wontfix. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org