Skip to content
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

MySQL is using the default config file, not the provided one #21

Closed
dortegau opened this issue Mar 9, 2018 · 0 comments
Closed

MySQL is using the default config file, not the provided one #21

dortegau opened this issue Mar 9, 2018 · 0 comments
Assignees
Labels

Comments

@dortegau
Copy link
Member

dortegau commented Mar 9, 2018

Prerequisites

Description

MySQL installation is using the default config file located in /etc/mysql/mysql.cnf instead the provided as a template file (/etc/mysql/my.cnf). For this reason is applying the default config.

Discovered when checking where is MySQL datadir pointing.

Steps to Reproduce

  1. Execute 'molecule test' to install MySQL Server using this role
  2. Check where is pointing MySQL datadir using mysql -utesting -p -e 'SHOW VARIABLES WHERE Variable_Name LIKE "%dir"'
  3. Verify that datadir output is not equals to the value defined in default vars.

Expected behavior: datadir points to default location

Actual behavior: datadir should point to /tmp/test

Reproduces how often: 100%

Versions

All

@dortegau dortegau self-assigned this Mar 9, 2018
dortegau added a commit that referenced this issue Mar 9, 2018
dortegau added a commit that referenced this issue Mar 9, 2018
dortegau added a commit that referenced this issue Mar 9, 2018
dortegau added a commit that referenced this issue Mar 9, 2018
#21 using defaults-file specified in MySQL service
@dortegau dortegau added the bug label Mar 9, 2018
@dortegau dortegau closed this as completed Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant