Saturday, April 28, 2012

Re: The rdbms API is not available because the MySQLdb library could not be loaded.

Also using GAE 1.6.5.14.

Downloaded mysql-python, built, installed.

Added to PYTHONPATH. 

Adding import MySQLdb to dev_appserver causes GAE to not be able to run at all with errors like:

  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/dev_appserver.py", line 25, in <module>

    import MySQLdb

  File "build/bdist.macosx-10.7-intel/egg/MySQLdb/__init__.py", line 19, in <module>

  File "build/bdist.macosx-10.7-intel/egg/_mysql.py", line 7, in <module>


Still trying to find the right trick...

No comments:

Post a Comment