Skip to content

Specify protocol for client during init #84

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

Merged
merged 1 commit into from
Jul 6, 2015

Conversation

ltangvald
Copy link
Collaborator

Image init can fail if user specifies a custom config with a changed socket setting (e.g. setting it to tcp) as mentioned in issue #83.
There's also a related problem in that the 5.5 image stores the default settings in a folder that will be overriden by the suggested method for providing a custom config (https://github.com/docker-library/docs/tree/master/mysql#user-content-using-a-custom-mysql-configuration-file).

Fixes #83

Prevents custom config from breaking init if protocol setting has been changed

* Moved default settings from /etc/mysql/conf.d/docker.cnf to /etc/mysql/my.cnf for 5.5-image

Prevents suggested method for custom config removing default config
@edmorley
Copy link
Contributor

edmorley commented Jul 3, 2015

Note the Travis failures are pre-existing - see #76 and #77.

@tianon
Copy link
Member

tianon commented Jul 6, 2015

LGTM 👍

tianon added a commit that referenced this pull request Jul 6, 2015
Specify protocol for client during init
@tianon tianon merged commit 2e9a5c8 into docker-library:master Jul 6, 2015
tianon added a commit to infosiftr/stackbrew that referenced this pull request Jul 6, 2015
- `haproxy`: 1.5.14
- `mysql`: add `--protocol` during init (docker-library/mysql#84)
- `tomcat`: 7.0.63
RichardScothern pushed a commit to RichardScothern/official-images that referenced this pull request Jun 14, 2016
- `haproxy`: 1.5.14
- `mysql`: add `--protocol` during init (docker-library/mysql#84)
- `tomcat`: 7.0.63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants