sometimes this error (2006, 'MySQL server has gone away') happens when parameter 'max_allowed_packet" is too small.

$ sudo vim /etc/mysql/my.cnf
# goto  the [mysqld] section
[mysqld]
 ...
max_allowed_packet=8M   <<-- change this with, for example, 500M

Hope this can help you

Vladyslav Kozlovskyy
Ukraine, Chernivtsi


03.02.15 06:07, Kiran Subbaraman написав(ла):
Looks similar to this open-issue: https://github.com/web2py/web2py/issues/733
________________________________________
Kiran Subbaraman
http://subbaraman.wordpress.com/about/
On Tue, 03-02-2015 2:47 AM, Niphlod wrote:
uhm. does pythonanywhere even support a running process outside the web one ?

BTW: all "kinky" calls to the db are fail-safed in the scheduler (see "wrapped_*" functions), to alleviate locking (albeit primarely for sqlite). This has the added benefit of making the scheduler more resilient against blocking, but this "has gone away" sounds like some problems with the underlying connectionpool........
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com <mailto:web2py+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com <mailto:web2py+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to