Ticket #5512: 5512.diff

File 5512.diff, 907 bytes (added by Matt Boersma, 10 years ago)

Documents the "ImmutableSet not found" gotcha for MySQLdb

  • docs/databases.txt

    7676If you are trying to use an older version of MySQL and the ``mysql_old``
    7777backend, then 1.2.0 *might* work for you.
     79If you see ``ImportError: cannot import name ImmutableSet``, your MySQLdb
     80installation may contain an outdated ``sets.py`` file that conflicts with
     81the built-in module of the same name from Python 2.4 or later.  To fix this,
     82verify that you have MySQLdb version 1.2.1p2 or newer, then delete any
     83``sets.py`` file in the MySQLdb directory that was left by an earlier version.
    7985.. _MySQLdb: http://sourceforge.net/projects/mysql-python
    8187Creating your database
    162168      AlterModelOnSyncDB_.
    164170.. _AlterModelOnSyncDB: http://code.djangoproject.com/wiki/AlterModelOnSyncDB
Back to Top