mysqldump exports only one table

前端 未结 4 1953
清酒与你
清酒与你 2021-01-29 23:58

I was using mysqldump to export the database, like this:

mysqldump -u root -ppassword my_database > c:\\temp\\my_database.sql

Somehow, it on

4条回答
  •  感动是毒
    2021-01-30 00:23

    Here I am going to export 3 tables from database named myDB in an sql file named table.sql

    mysqldump -u root -p myDB table1 table2 table3 > table.sql
    

提交回复
热议问题