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

Allow configuration of mysql_replication_hostgroups in proxysql.cnf #648

Closed
ryanschwartz opened this issue Aug 17, 2016 · 2 comments
Closed

Comments

@ryanschwartz
Copy link

Allowing configuration of mysql_replication_hostgroups in proxysql.cnf, rather than requiring admin SQL commands to configure them would allow proxysql to more easily be operated in an automated manner, in particular in dockerized environments where containers are expected to start up and be useable completely hands-off.

My current workaround is to build my container with a seed sqlite3 database containing that particular table with the row I need the passing the --reload flag on startup to get proxysql to merge my .cnf based configuration with my desired replication hostgroup configuration.

Thanks for considering.

@renecannao
Copy link
Contributor

Hi Ryan.
I confirm that right now is not possible to configure mysql_replication_hostgroups via config file.
I will get this feature implemented as soon as possible, possibly this week.
Thanks.

@renecannao renecannao self-assigned this Aug 17, 2016
@renecannao renecannao added this to the v1.2.2 milestone Aug 17, 2016
renecannao added a commit that referenced this issue Aug 17, 2016
Now Admin supports the configuration of mysql_replication_hostgroups from configfile.
That means that also LOAD MYSQL SERVERS FROM CONFIG is responsible for configuring mysql_replication_hostgroups.
This commit also allows comments in config file for `mysql_servers` and `mysql_replication_hostgroups` , related to #643
@renecannao
Copy link
Contributor

Issue already fixed in current development branch v1.2.2 . Issue #617 was fixed too .
Thank you for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants