Uploading large mysql database on AWS RDS using putty - 'MySQL server has gone away'

后端 未结 3 671
孤街浪徒
孤街浪徒 2020-12-28 21:06

Im using Amazon Web services and I\'ve setup EC2 and RDS and installed apache, php, mysql, phpmyadmin.

I can import small sql files (I also setup worpdress and impor

3条回答
  •  旧时难觅i
    2020-12-28 21:33

    The accepted answer didn't work for me, but changing the max_allowed_packet to something large (i.e. 32000000 =~ 32MB) and rebooting did.

提交回复
热议问题