Essa Alshammri
Essa Alshammri
@niscp have you found a solution ?
here is my app.yaml and I'm using MySQLdb 1.2.5 locally ``` # [START django_app] runtime: python27 api_version: 1 threadsafe: yes handlers: - url: /static static_dir: static/ - url: .* script:...
@waprin there you go :) here is the raw stack trace. last two calls ``` Traceback (most recent call last): ............... File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/MySQLdb-1.2.5/MySQLdb/cursors.py", line 205, in execute self.errorhandler(self, exc, value)...
> If I haven't updated you in ~24 hours, feel free to give me reminder @waprin mention. it's 4 hours earlier :) :laughing: @waprin have you found a solution?
@waprin I actually have the exact same setup as the one you mentioned and I'm using second gen cloud sql from the get go. I will give it another try...
I think the problem is that connection initialization charset is not set to utf8mb4 when the app is running on the app engine if there is a way I can...
@waprin hey :) I just wanna let you updated. I have setup everything from scratch with [polls](https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/appengine/standard/django) example following this [https://cloud.google.com/python/django/appengine](https://cloud.google.com/python/django/appengine). and nothing worked as expected. the exact same problem...
@waprin here is the charset using cloudsql proxy locally ``` mysql> SHOW VARIABLES WHERE Variable_name LIKE 'character\_set\_%' OR Variable_name LIKE 'collation%'; +--------------------------+--------------------+ | Variable_name | Value | +--------------------------+--------------------+ | character_set_client...
@waprin anything yet ?
yeah encoding and decoding worked for me too, but :angry: it isn't that good especially if you already have records on the database < there is a workaround though (iterate...