mysql - How to copy a database table after a mysqldump -


i have mysqldump of databases projects created this:

mysqldump -u username -h localhost --all-databases | gzip -9 > alldb.sql.gz

i want copy specific database of specific project (project1) of alldb.sql file (which have gunzipped). need copy project1_production database anotherproject_development database of application i'm developing.

what easiest way copy (and overwrite if entries exist) project1_production database of alldb.sql file anotherproject_development database of application i'm developing?

mysql -d mydatabase -o < dump.sql 

a thread here


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -