[Koha-bugs] [Bug 12374] Feature request: add koha-mqsqldump script, analagous to koha-mysql

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Aug 27 20:44:09 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12374

Barton Chittenden <barton at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff

--- Comment #4 from Barton Chittenden <barton at bywatersolutions.com> ---
Test plan:

1/ Run mysqldump by hand, redirect output to 'file1.sql'
   egrep '^..(user|database|pass|host)' $KOHA_CONF

   which will yield something like this:

    <database>koha_xyzzy</database>
    <hostname>localhost</hostname>
    <user>koha_xyzzy</user>
    <pass>setecAstronomy</pass>

   mysqldump -p -u koha_xyzzy -h localhost koha_xyzzy > file1.sql
   Enter password:

2/ Apply patch
3/ Run koha-mysqldump against the instance, redirect output to 'file2.sql'
   ./debian/scripts/koha-mysqldump xyzzy > file2.sql
4/ The files should be identical, except for time stamps contained in the file:

   diff file1.sql file2.sql
   5965c5965
   < -- Dump completed on 2016-08-27 11:33:42
   ---
   > -- Dump completed on 2016-08-27 11:35:48

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list