0
在共享主机上创建数据库备份时出现问题,因为我无法控制mysql配置。无法使用Mysql转储导出数据库错误2020:
我收到的错误是:
mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes when dumping table `wp_postmeta` at row: 870
有一种解决方法或脚本,我可以用它来转储数据库以更理想的状态?这样
shell> mysql --max_allowed_packet=512M
对于详细信息
可能的重复的[MySQL错误1153 - 有一个大于'max \ _allowed \ _packet'字节的数据包](http://stackoverflow.com/questions/93128/mysql-error-1153-got-a-packet-降幅高于最大允许的数据包字节) – worpet 2015-04-02 18:46:59