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

go-tpc tpch run Command Not Working for MySQL #187

Open
abdelnassergit opened this issue Dec 1, 2024 · 1 comment
Open

go-tpc tpch run Command Not Working for MySQL #187

abdelnassergit opened this issue Dec 1, 2024 · 1 comment

Comments

@abdelnassergit
Copy link

Hi,

I'm encountering an issue with the go-tpc tpch run command when trying to connect to a MySQL database. The prepare command works fine, but the run command fails with the error "cannot connect to the database". Here are the details of my setup:
Image
Image
Image
I also try it why mysql 8.0 with no success.
When i try to run with an inexistant database i have this error :
Image
Unknown system variable 'tidb_default_string_match_selectivity' ???
Any assistance or guidance on resolving this issue would be greatly appreciated. Thank you!

@MimeLyc
Copy link

MimeLyc commented Feb 24, 2025

It's caused by

appendQueryTuningVarsToConnParams()
adding tidb-specific params.

@zanmato1984 Bro can we change the default value of enable-query-tuning flag to be false to avoid affecting common mysql usage?

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