Setting 'max_allowed_packet' for MySQL?

77 views
Skip to first unread message

alotatakada

unread,
Mar 29, 2012, 4:26:39 PM3/29/12
to play-framework
Is it possible to set "max_allowed_packet" for MySQL through
application.conf?

I keep running into this problem, which is the reason I believe I need
to set this:

ERROR ~ Packet for query is too large (1049611 > 1048576). You can
change this value on the server by setting the max_allowed_packet'
variable.

alotatakada

unread,
Mar 29, 2012, 4:36:23 PM3/29/12
to play-framework
I know i can do it manually through my.cnf, but would prefer not
having to manually configure mysql outside my play configuration...
especially when using hosting services like playapps.net.
Reply all
Reply to author
Forward
0 new messages