[Koha-bugs] [Bug 7924] Fix handling of command line arguments in koha-remove

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 30 13:54:05 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7924

--- Comment #3 from Magnus Enger <magnus at enger.priv.no> ---
Created attachment 9366
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9366&action=edit
Bug 7924 - Fix handling of command line arguments in koha-remove

koha-remove would fail with a message like this:
Removing Koha instance --
ERROR 1396 (HY000) at line 1: Operation DROP USER failed for 'koha_--'@'%'

After fixing this, the --keep-mysql option made the script exit without doing
anything.

To test:

Alt 1
- Build package with build-git-snapshot
- Install package

Alt 2
- Replicate the changes in the patch in an existing installation

Then:
- Add instance1 and instance2
- koha-remove instance1
-- Check that script completes and the databse is gone
- koha-remove --keep-mysql instance2
-- Check that the script completes but the database is not removed

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


More information about the Koha-bugs mailing list