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
Dell PE 2850, ESXi 4.0, 64bit guest VMs?
Complete uninstall of Sharepoint Services 3.0 from Windows 2008 Server
Data adapter Insert/Update
Ref Cur
"Include inheritable permissions from this object's parent" is gey out in Windows 2008
Offline Caching, emptying the cache
How to print logos on Epson T88IV
Inexpensive IR Transceiver Alternatives?
Self signed SSL certificate for Outlook Anywhere & OWA - Exchange 2010
How do I see what traffic is traversing my Cisco 2811 router?