Microsoft
Software
Hardware
Network
Question : How to dump one MySQL record to put in another database?
Hello everybody,
I have two mysql databases on different machines, one is for testing. The schema for both are the same.
I want to move a record from the production database to the test database. Is there a way to dump one record so that it will produce the sql necessary to insert that record in the test database table? Something like a mysqldump but for one record.
thanks
Answer : How to dump one MySQL record to put in another database?
Use mysqldump with the --where option
mysqldump --opt --where="x=1 limit 1" database
Random Solutions
prstat vs top command
How do I boot from san HP BL460c G6 and HP XP 240000
Modifing the configuration of a PIX 515 with Fail-over license
Post data back to jquery
Why does my outlook show three tasks for every email I mark?
How do I use a static page for Joomla's Home Page?
Exchange 2010 Send-As permissions do not stay applied
Unable to set send-as for Bes Express 5.01 on Exchange 2010
basic quadratic question
How Can I Downgrade my VMWare Fusion for Mac?