How do I split the output from mysqldump into smaller files?

前端 未结 18 1521
孤城傲影
孤城傲影 2020-11-27 13:50

I need to move entire tables from one MySQL database to another. I don\'t have full access to the second one, only phpMyAdmin access. I can only upload (compressed) sql file

18条回答
  •  孤城傲影
    2020-11-27 14:20

    You can dump individual tables with mysqldump by running mysqldump database table1 table2 ... tableN

    If none of the tables are too large, that will be enough. Otherwise, you'll have to start splitting the data in the larger tables.

提交回复
热议问题