Collections:
Dump a Table to a File with "mysqldump" Command in MySQL
How To Dump a Table to a File with "mysqldump" in MySQL?
✍: FYIcenter.com
If you want to dump all rows in a table from the server to a file, you can use "mysqldump" with the "-f fileName" option as show in the following tutorial exercise:
>cd \mysql\bin >mysqldump -u root -r \temp\links.txt test links >type \temp\links.txt >type \temp\links.txt | more -- MySQL dump 10.10 -- -- Host: localhost Database: test -- ------------------------------------------------------ -- Server version 5.0.24-community ...
The dump file contains SQL statements that you can use to restore the table and its data content.
⇒ What Is "mysqlimport" Command in MySQL
⇐ What Is "mysqldump" Command in MySQL
2018-05-19, 3187🔥, 0💬
Popular Posts:
How to obtain the version number of the ICU (International Components for Unicode) library using the...
How To Drop an Index in Oracle? If you don't need an existing index any more, you should delete it w...
How To Use DATEADD() Function in SQL Server Transact-SQL? DATEADD() is a very useful function for ma...
What To Do If the StartDB.bat Failed to Start the XE Instance in Oracle? If StartDB.bat failed to st...
How To Count Rows with the COUNT(*) Function in SQL Server? If you want to count the number of rows,...