Hello, I attempted to install Pootle and after several dead-ends, I arrived
at the stage of initial database configuration.

I would like to install Pootle and a mysql backend in order to learn about
the database schema that Pootle uses (which is also used by Locamotion).

At this stage:
https://pootle.readthedocs.org/en/latest/server/installation.html#populating-the-database

I get the error: django.core.exceptions.ImproperlyConfigured: Error loading
MySQLdb module: No module named MySQLdb

I attempted this on a VM running Ubuntu 15.04 with the following installed
from apt-get: build-essential, libz-dev, python-dev, virtualenv,
python-mysql, python-mysqldb, python-mysql.connector, mysql (includes
mysql-client, mysql-server and mysql-common, mysql-utilities).

In ~/.pootle/pootle.conf in the DATABASES {} section I changed the value of
ENGINE to django.db.backends.mysql from the existing one:
django.db.backends.sqlite3

I need a basic pootle mysql database that includes a few dummy projects,
some translations, some suggestions and comments and several users with
varying permissions.

Thanks.

Jobava
------------------------------------------------------------------------------
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to