If experiencing a situation in which big geometries (composed from a lot of vertices) do not work, verify your database geometry column type.
MySQL supports TINYBLOB, BLOB, MEDIUMBLOB and LONGBLOB types. The standard BLOB limits could be too small, By selecting MEDIUMBLOB, the limits will be sufficient for most layers.
See also KB10765 for a general description of SQL layer formats.