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

Connection issues with DBs inside Docker on Linux #11

Open
sj14 opened this issue Dec 22, 2018 · 1 comment
Open

Connection issues with DBs inside Docker on Linux #11

sj14 opened this issue Dec 22, 2018 · 1 comment

Comments

@sj14
Copy link
Owner

sj14 commented Dec 22, 2018

After enough iteration, the connection gets unintentionally closed. Might be a Docker bug on Linux.

MySQL and MariaDB

[mysql] 2018/12/16 14:33:08 packets.go:36: unexpected EOF
2018/12/16 14:33:08 INSERT INTO dbbench.simple (id, balance) VALUES( 9458, 3611810842); failed: driver: bad connection

PostgreSQL

2018/12/16 13:53:19 DELETE FROM dbbench.simple WHERE id = 56669; failed: read tcp 127.0.0.1:42836->127.0.0.1:5432: read: connection reset by peer
@boedy
Copy link
Contributor

boedy commented Dec 10, 2023

I'm facing similar issues when increasing the iteration number. Encountering issues on both on our k3s cluster and when running inside docker.

2023/12/10 12:53:13 INSERT INTO dbbench.simple (id, balance) VALUES( 290832, 4782569013); failed: dial tcp :3306: connect: cannot assign requested address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants