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

前端 未结 18 1511
孤城傲影
孤城傲影 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:03

    Try csplit(1) to cut up the output into the individual tables based on regular expressions (matching the table boundary I would think).

提交回复
热议问题