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
Post a Comment