-
-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to override mysql max_allowed_packet setting #894
Comments
Thanks so much for the great bug and description. PR should fix it, you can check it out using the testing instructions in #895 Do you think 16M is good enough in general for our default config, or should we also raise that in the config? |
Thanks @rfay for the quick fix! Since |
Added a commit to set the default to 256M, thanks! |
Describe the bug
I am following instructions on https://ddev.readthedocs.io/en/latest/users/extend/customization-extendibility/ to override mysql settings using a custom
.cnf
file. I am able to override some settings, but I'm unable to overridemax_allowed_packet
specifically, even when other settings in the override file are being applied successfully.To Reproduce
Steps to reproduce the behavior:
ddev ssh
followed bymysql -u root -proot -h db
)max_allowed_packet
(and other settings to verify they are later overridden -- for example, bothtmp_table_size
andmax_heap_table_size
default to64M
, those will be overridden as a test)..ddev/mysql/foo.cnf
with the following contents:ddev restart
, verify the new cnf file is being loaded with the following output:Using custom mysql configuration: [foo.cnf]
.max_allowed_packet
remains at the default16M
:Expected behavior
max_allowed_packet
should be overridden with the value fromfoo.cnf
.Version and configuration information (please complete the following information):
The text was updated successfully, but these errors were encountered: