https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15664
--- Comment #8 from Marcel de Rooy <[email protected]> --- (In reply to Rudolf Byker from comment #6) > Another option is to use sed to replace the USE and CREATE DATABASE commands > using regular expressions. This can be done using pipes, without creating a > new dump. I wrote this bash function a while ago, which imports a gzipped > Koha sql-dump. The first argument is the name of the database you want to > create, and the second argument is the file name to import from. Thx for sharing. Personally I would opt for creating a dump without db-name instead of search/replace. With a bad databasename you will be in trouble.. But sure, it can be done. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
