We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We are seeing a few instances of the following errors when using the MySQL driver with sqlx
write tcp <some_ip>-><some_ip>3306: use of closed network connection
Under what situations would this error be thrown? Is this expected?
sqlDB := sqltrace.OpenDB(connector) sqlxDB := sqlx.NewDb(sqlDB, "mysql") var mystruct []MyStruct // query := a valid sql query err := conn.SelectContext(ctx, &mystruct, query)
If you have an error log, please paste it here.
Driver version (or git SHA): v1.5.0
Go version: run go version in your console 1.13.1
go version
Server version: MySQL 5.7 (Aurora 2)
Server OS: Linux
The text was updated successfully, but these errors were encountered:
Any other errors before the error?
Other error can close the connection and leads this error. In this case, you should ignore this error and focus on the other errors.
Sorry, something went wrong.
ah right i see. Theres some context cancelled errors. So the context being closed potentially could results in concurrent queries to throw this error?
So the context being closed potentially could results in concurrent queries to throw this error?
I don't know. If you want we investigate your issue, please provide a reproducible sample.
use of closed network connection
No branches or pull requests
Issue description
We are seeing a few instances of the following errors when using the MySQL driver with sqlx
Under what situations would this error be thrown? Is this expected?
Example code
Error log
Configuration
Driver version (or git SHA): v1.5.0
Go version: run
go version
in your console 1.13.1Server version: MySQL 5.7 (Aurora 2)
Server OS: Linux
The text was updated successfully, but these errors were encountered: