mysql - mysqldump.exe - how to have database renamed in the dump file -
i'm writing simple utility of merging few database dump files single one. have temporary database (lets name 'db_temporary') , have export dump in dump file should named 'db_final'. can using 'mysqldump.exe'? seems trivial task can't find clue in 'mysqldump' documentation here: https://dev.mysql.com/doc/refman/4.1/en/mysqldump.html big help.
the dump not contain database name, dump contains tables , data database youve dumped. yes, import resulting sql code in database wish, create database , import sql code that.
at least if use form:
mysqldump.exe -u username -p database > database_dump.sql
Comments
Post a Comment