mysqlcheck: unknown variable 'max_allowed_packet=100M'
According to this bug report (resolved as "not a bug"), you shouldn't put settings for mysqld in the [client] section of your .ini file. 

Put the max_allowed_packet option in the [mysqld] section instead.

See Using Option Files for more details.