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
Built-In Webcam Stopped Working on Lenovo ThinkPad
Display Last Modified Date of aspx vb.net 2.0 page via Footer Include
What does it mean if I am receiving output errors on all of my Cisco Aironet 1130AG?
how to install Ubuntu netbook, without a CD and USB drive?
[ODBC Microsoft Access Driver]Invalid descriptor index error
Bind List<List<string>> to Grid
HP Desktop memory
HP Designjet 1055cm and windows 7
Wrong Volume in Drive
If Statement on Control Source