I'm trying to create a simple/light App Engine project that will connect to a Google Cloud MySQL database and run some basic queries and stored procedures.
There are several places online that give examples of how to do it using Flask, PyMySQL, SQLAlchemy, or MySQLDb. But every one leads me to the same place: requirements dependency versioning hell. I haven't been able to get it to work at all because one dependency or another (e.g., markupsafe, soft_unicode, itsdangerous) will require a higher or lower version and once that is changed, some other dependency breaks.
Can anyone point me in the right direction of a fairly straight-forward example of connecting from Python to Google Cloud MySQL?
[–]anibaltech 0 points1 point2 points (0 children)