So I can export only a table like this:
mysqldump -u root -p db_name table_name > table_name.sql
Is there any way to export only a porti
The file dumped is different from the file you use SQL select. For the 2nd approach, you can not simply use: mysql database < table to dump the table into a database.