Reputation: 25452
Am building an intranet site and am using GAE, but i want to access some data that lies in some MYSQl database.
How do i import MySQLdb module?
When i try:
import MySQLdb
GAE complains that there is no module named MySQLdb!!
When is try this;
import django.db.backends.mysql
it goes through,seems like GAE likes django (parasitic behavior).
I need to use MySQLdb module and MySQLdb.cursors
Help
Upvotes: 1
Views: 517
Reputation: 14175
If you need to access an external data source, you will need to do so over some kind of HTTP API using urlfetch
Upvotes: 5