Hi,

The install guide recommends using a virtualenv
https://pootle.readthedocs.org/en/latest/server/installation.html#setting-up-the-virtual-environment

So within your virtualenv make sure to do:

pip install MySQL-python

That should be all that's needed, a default install won't install MySQL
requirements.  I need to look at those docs for this scenario.

On 5 September 2015 at 19:53, Baadur Jobava <[email protected]> wrote:

> 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
>



-- 
Dwayne

*Translate*
+27 12 460 1095 (work)
------------------------------------------------------------------------------
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to