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

helm: Use MYSQL_FLAVOR to set flavor instead of EXTRA_MY_CNF #4473

Merged
merged 1 commit into from
Dec 20, 2018
Merged

helm: Use MYSQL_FLAVOR to set flavor instead of EXTRA_MY_CNF #4473

merged 1 commit into from
Dec 20, 2018

Conversation

ssup2
Copy link
Contributor

@ssup2 ssup2 commented Dec 19, 2018

mysqlctl uses env MYSQL_FLAVOR to set MySQL Flavor.
But helper template use EXTRA_MY_CNF to set MySQL Flavor.

This cause a bug when use mariadb or mariadb103.
mysqlctl set mariadb.conf or mariadb103.conf and 'mysql56.conf' in my.cnf.
And this wrong config cause failure to run mariadb or mariadb103.

Signed-off-by: Jungsub Shin supsup5642@gmail.com

mysqlctl uses env MYSQL_FLAVOR to set MySQL Flavor.
But helper template use EXTRA_MY_CNF to set MySQL Flavor.

This cause a bug when use mariadb or mariadb103.
mysqlctl set mariadb.conf or mariadb103.conf and 'mysql56.conf' in my.cnf.
And this wrong config cause failure to run mariadb or mariadb103.

Signed-off-by: Jungsub Shin <supsup5642@gmail.com>
@dkhenry
Copy link
Contributor

dkhenry commented Dec 19, 2018

@ssup2 I am still getting errors on this branch trying to start a cluster with MariaDB 10.3

@ssup2
Copy link
Contributor Author

ssup2 commented Dec 19, 2018

@dkhenry I tested my local kubernetes cluster with MariaDB 10.2 and MariaDB 10.3. And it works.

@ssup2
Copy link
Contributor Author

ssup2 commented Dec 19, 2018

@dkhenry Could I get the log of mysqld in a replica pod??

@dkhenry
Copy link
Contributor

dkhenry commented Dec 20, 2018

I think the error was with my Persistent volumes not getting deleted between my tests. I deleted everything and just ran with MariaDB 10.3 and it all worked.

Copy link
Contributor

@dkhenry dkhenry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dkhenry dkhenry merged commit 345d3bd into vitessio:master Dec 20, 2018
systay pushed a commit that referenced this pull request Jul 22, 2024
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.

2 participants