We would like to use Google App Engine for a Django project for rapid development and scalable deployment. We’d also like to use an existing MySQL server as a database. In theory this would eliminate the problems with using the Google App Engine storage solutions and Django.
Unfortunately, although the app works locally, I get the following error when I deploy:
ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb
From posts by people wanting to do this with Java I understand that I can’t open a MySQL port from GAE. This being the case, is there a drop-in solution for accessing a remote MySQL database (using a technique like tunnelling over HTTP) in Python that would let me keep using the Django ORM features?
You cannot access your own Mysql, however you can use Google cloud Sql.