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

conn.All() expects 12 elements in mysql 5.7 #59

Open
eahrend opened this issue Nov 12, 2019 · 1 comment
Open

conn.All() expects 12 elements in mysql 5.7 #59

eahrend opened this issue Nov 12, 2019 · 1 comment

Comments

@eahrend
Copy link

eahrend commented Nov 12, 2019

When using conn.All() on a proxysql host that has a mysql 5.7 db behind it will return a sql: expected 12 destination arguments in Scan, not 11

It looks like the rows var listed here https://github.com/kirinrastogi/proxysql-go/blob/master/proxysql.go#L211-L225 is missing a variable that is 5.7

@kirinrastogi
Copy link
Owner

kirinrastogi commented Feb 20, 2020

Sorry for the late response, I hope you have found a solution or forked the repo.

I found this myself a while ago, and I am working on a fix for this. I think it involves versioning this package in a way as to make it compatible with MySQL at the same version.

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

2 participants