rdbms driver deprecated? Should it work with 2nd generation Cloud SQL?

27 views
Skip to first unread message

Karoly Kantor

unread,
May 24, 2017, 6:13:05 AM5/24/17
to Google App Engine
I have a piece of Python software in the app engine using the old "rdbms" driver to connect to a first generation SQL data base instance.

Should it also work with a 2nd generation SQL instance? (I read somewhere that rdbms is being deprecated and replaced by MySQLdb)

I know MySQLdb is recommended, my question is whether rdbms theoretically still works with a 2nd gen instance or not.

Thank you!


Jun (Cloud Platform Support)

unread,
May 25, 2017, 10:50:58 AM5/25/17
to Google App Engine
Hi Karoly,

You're correct that the rdbms way to connect is deprecated and it will not work with the 2nd Gen Cloud SQL instance. That said, you should use the recommended way to connect documented as Connecting from App Engine.

- Jun
Reply all
Reply to author
Forward
0 new messages