search

Home  >  Q&A  >  body text

python - (2006, 'MySQL server has gone away')

max_allowed_packet=500M
wait_timeout=200000
interactive_timeout = 200000
这些都修改过了,服务也重启了,但还是上面的错误

巴扎黑巴扎黑2778 days ago606

reply all(2)I'll reply

  • 怪我咯

    怪我咯2017-04-18 10:25:23

    Modify through the command line without restarting the mysql service.

    set global max_allowed_packet=1024*1024*100;

    reply
    0
  • ringa_lee

    ringa_lee2017-04-18 10:25:23

    The following article may be helpful to you:

    http://caimaoy.com/caimaoy_gi...

    reply
    0
  • Cancelreply