Skip to content
This repository was archived by the owner on Nov 7, 2020. It is now read-only.

Keeping connections alive for long running queries. #10

Open
raniemi opened this issue Aug 24, 2016 · 0 comments
Open

Keeping connections alive for long running queries. #10

raniemi opened this issue Aug 24, 2016 · 0 comments

Comments

@raniemi
Copy link

raniemi commented Aug 24, 2016

EDIT: I'm currently working on some code that uses MySQLdb and I ran into an issue with a connection closing during processing, but the query continued on the database server.

For another database technology suffering from the same issue, we just defined a keep alive value on the Unix socket. However, I didn't see anything with MySQLdb/_mysql that would help.

Is there a way to use PySQLPool to do a keep alive on MySQLdb connections?

UPDATE: I verified on the database server that the wait/interactive timeouts are already set large (28800). I just need to confirm where and where the disconnect is happening.

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

No branches or pull requests

1 participant