[Sqlalchemy-tickets] [sqlalchemy] #2484: Feature Request: Google Cloud SQL Support [ Code Attached
Brought to you by:
zzzeek
From: sqlalchemy <mi...@zz...> - 2012-05-13 17:22:04
|
#2484: Feature Request: Google Cloud SQL Support [ Code Attached ] -----------------------------------------+------------------------- Reporter: richieforeman | Type: enhancement Status: new | Priority: medium Milestone: | Component: mysql Severity: no triage selected yet | Keywords: Progress State: awaiting triage | -----------------------------------------+------------------------- Hello, I've been doing some tinkering with Google Cloud SQL + SQLAlchemy. Cloud SQL is really just MySQL over JDBC under the covers. I've included a mysql dialect that I've been using with great success. I'm open to any comments, thoughts, or changes on this. I was having some issues with connections 'dying' -- so I set the pool_recycle to 1, which cleared that issue up (I tried various numbers between 30 and 60 as well, with limited success -- sometimes GAE just 'closes' the connection for the hell of it -- which makes sense, I suppose). If there's a better way to handle that, I'd love to change my code. I've attached my dialect code at the following URL: /sqlalchemy/dialects/mysql/gaerdbms.py: http://pastebin.com/FLU88Mv2 -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2484> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |