python - SQLAlchemy 'character_set_name' error in GAE -


after deploying application google app engine warning raised on (what seems like) random requests.

/sqlalchemy/dialects/mysql/base.py:2452: sawarning: no 'character_set_name' can detected mysql-python version; please upgrade recent version of mysql-python.  assuming latin1. 

the sql server google cloud sql.

is there way fix (maybe set character_set_name value) or totally dependent on mysql-python version shipped app engine?

i got issue if used:

create_engine('mysql+gaerdbms:///xxx?instance=xxx:xxx')

but, goes away if use:

create_engine('mysql://root@127.0.0.1:3306/xxx?unix_socket=/cloudsql/xxx:xxx')


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -