dimanche 24 juillet 2016

GAE Python - MySQL ImportError: dynamic module does not define init function (init_mysql)

I'm using MySQLdb to connect to CloudSQL, it's working on localhost but once I deploy it to server this error is thrown:

ImportError: dynamic module does not define init function (init_mysql)

I'm using MySQLdb within my libs folder, I cannot specify it on my app.yaml because I'm using flexible environments (vm: true).

I've been googling for a long time I've seem some related questions but nothing related specifically to CloudSQL

Thanks a lot!.

Aucun commentaire:

Enregistrer un commentaire