MySQL dump query from table and restore
Any easy way of dumping a query from a database specific table and restore it on another DB?
I googled around and can do mysql -uuname -ppass -e "SELECT * FROM tablename WHERE column=y" > output.sql
I don't know how to restore this on table on other DB
Tried mysql -uuname -ppass dbname.tablename < output.sql but not working
|