Hello all,
I have this combination, on debian 7 (in openvz, not possible to upgrade).
According
https://docs.djangoproject.com/en/1.8/ref/databases/#mysql-db-api-drivers,
i have to use mysqlclient or MySQL Connector/Python provided by Oracle.
Unfortunately, mysqlclient failed to work:
File
"/home/devel/.virtualenvs/python3/lib/python3.2/site-packages/django/db/backends/mysql/base.py",
line 27, in <module>
raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb
module:
/home/devel/.virtualenvs/python3/lib/python3.2/site-packages/_
mysql.cpython-32mu.so:
undefined symbol: PyUnicode_AsUTF8
and MySQL Connector/Python doesn't compile in python 3.2:
RuntimeError: Python v3.2 is not supported
tested with 2.0.4 and 2.1.2
Anybody has found a solution in this configuration?
Thanks in advance for help,
--
Gérard Henry