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, 1681🔥, 0💬
Popular Posts:
How To Start Instance with a Minimal Initialization Parameter File in Oracle? The sample initializat...
How To Change the Password for Your Own User Account in MySQL? If you want to change the password of...
What Is an Oracle Tablespace in Oracle? An Oracle tablespace is a big unit of logical storage in an ...
What Are the Underflow and Overflow Behaviors on FLOAT Literals in SQL Server Transact-SQL? If you e...
How To Run SQL Commands in SQL*Plus in Oracle? If you want to run a SQL command in SQL*Plus, you nee...