Python Version: 2.7
OSX: 10.6.5
MySQL Server Version: 5.5.8
Nachdem ich nun bereits 12 Stunden versucht habe MySQL-Python auf meinem Mac zum Laufen zu bekommen, habe ich den Mysql-Connector (http://forums.mysql.com/read.php?50,398 ... msg-398540) gefunden.
Nun möchte ich gerne mit Django arbeiten, aber ich kann diesen Mysql-Connector nicht als ENGINGE nutzen.
Error:
Code: Alles auswählen
django.core.exceptions.ImproperlyConfigured: 'mysql-connector' isn't an available database backend.
Try using django.db.backends.XXX, where XXX is one of:
'dummy', 'mysql', 'oracle', 'postgresql', 'postgresql_psycopg2', 'sqlite3'
Error was: No module named mysql-connector.base
Wenn ich nun aber myconnpy_django_backend als ENGINGE nutzen möchte, bekomme ich den folgenden Error:
Code: Alles auswählen
raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: dlopen(/Users/chris/.python-eggs/MySQL_python-1.2.3-py2.6-macosx-10.6-universal.egg-tmp/_mysql.so, 2): Library not loaded: libmysqlclient.16.dylib
Referenced from: /Users/chris/.python-eggs/MySQL_python-1.2.3-py2.6-macosx-10.6-universal.egg-tmp/_mysql.so
Reason: image not found
Irgendwelche Ideen?

Danke & Gruß,
Chris