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

cluster mysql_query_rules IndexError: list index out of range #3

Open
cirruspl opened this issue Nov 29, 2018 · 0 comments
Open

cluster mysql_query_rules IndexError: list index out of range #3

cirruspl opened this issue Nov 29, 2018 · 0 comments

Comments

@cirruspl
Copy link

cirruspl commented Nov 29, 2018

Hello,

some cluster items returns no value. One example:

#./proxysql.py get cluster mysql_query_rules
Traceback (most recent call last):
File "/opt/bin/proxysql.py", line 137, in
args.func(args)
File "/opt/bin/proxysql.py", line 68, in get_proxysql_cluster
WHERE hostname in( "%s") and name in ("%s");""" % (socket.getfqdn(),args.param))[0]['checksum']
IndexError: list index out of range

BR

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

No branches or pull requests

1 participant