[Koha-bugs] [Bug 15664] koha-restore: Allow database dump to be restored to another Koha instance

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 19 13:50:13 CEST 2019


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

--- Comment #7 from Rudolf Byker <rudolfbyker at gmail.com> ---
Sorry, you also need this function:

function drop_db {
    DB="$1"
    echo "Dropping $DB …"
    mysql -u "$MYSQL_USER" -p"$MYSQL_PASS" -e "DROP DATABASE IF EXISTS $DB;"
}

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


More information about the Koha-bugs mailing list