MySQL max_allowed_packet fails

I have been trying, unsuccessfully, to run a MySQL In CircleCI 2.0 with --max_allowed_packet=16M.

When I try it locally using the CircleCI-RAM variant using:

docker run -e MYSQL_ROOT_PASSWORD=my-secret-pw circleci/mysql:5.7-ram --max_allowed_packet=16M

it fails with:

[ERROR] InnoDB: Cannot set log file ./ib_logfile1 to size 48 MB

It also doesn’t seem to work for me in CircleCI via the command key on the Docker image in a standard CircleCI 2.0 config. Has anyone else seen this?

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.