-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Errors running mysql tests with connectionstring #10
Comments
mysql version 8.0.* if that makes a difference |
Looks as if mysql.go : getColumns tries to use an empty opts.Database ("") as table_schema and that returns no column rows from the server. |
Ok. I test using a connection string and if so there is no database name set that the driver can use. |
Gets the selected database from the server if not detected by configuration before getting columns on mysql. Closes timabell#10
have a look in the sh files to see how I've been doing the setup. by the way I just added docker stuff for mysql which is handy |
I have tested your way as well but shouldn't all connection methods be tested :) |
Thanks for documenting this, it explains why my attempt at a gha failed - #62 |
Gets the selected database from the server if not detected by configuration before getting columns on mysql. Closes #10
And thanks for the PR and patch, merged. Amazing. |
I have been able to successfully test on sqlite, mssql and pg but mysql fails.
Code is fresh from master (except some debug prints and possibly gofmt) but I am running on Windows 10 with go1.13.3 windows/amd64.
I also have similar issues in an Ubuntu WSL on the same machine with go version go1.13.4 linux/amd64
windows
wsl
The text was updated successfully, but these errors were encountered: