Edgewall Software

Changes between Version 72 and Version 73 of MySqlDb


Ignore:
Timestamp:
Jan 6, 2016, 12:58:34 AM (8 years ago)
Author:
Christian Boos
Comment:

#MySQLdb: update install information on Windows

Legend:

Unmodified
Added
Removed
Modified
  • MySqlDb

    v72 v73  
    1616
    1717The following MySQL dropin replacements are also known to work:
    18  * The [http://askmonty.org/wiki/index.php/MariaDB MariaDB] variant: tested MariaDB 5.3.3, MySQLdb 1.2.3 and Trac 0.12.3.
    19  * The [http://www.percona.com/software/percona-server/ps-5.6 Percona] variant: tested Percona 5.6 with Trac 1.1.4.
     18 * The [http://askmonty.org/wiki/index.php/MariaDB MariaDB] variant:
     19    - tested MariaDB 5.3.3, MySQLdb 1.2.3 and Trac 0.12.3
     20    - tested MariaDB 10.1.10 (x64), MySQLdb 1.2.5 and Trac 1.0.10dev, 1.2dev
     21 * The [http://www.percona.com/software/percona-server/ps-5.6 Percona] variant:
     22    - tested Percona 5.6 with Trac 1.1.4
    2023
    2124In order to avoid Unicode and international characters problems in Trac, eg international characters turning into question marks with mysterious **"Incorrect string value"** errors logged, the Trac database '''must''' be configured  with the `utf8` character set and the `utf8_bin` collation type.
     
    8386The recommended version is [pypi:MySQL-python MySQL-python 1.2.2+], which must be compiled in ''thread-safe client'' mode. Earlier versions are known to be problematic.
    8487
    85 [pypi:MySQL-python MySQL-python] contains links to the `.tar.gz` source distribution as well as pre-built Windows eggs, but for Python 2.7 only. Python 2.6 binaries for windows can be found [http://www.codegood.com/archives/4 here], unofficial site.
     88The [pypi:MySQL-python MySQL-python] page on PyPI contains links to the `.tar.gz` source distribution.
     89
     90For Windows, there are several possibilities:
     91 - the PyPI page mentioned above also links to pre-built Windows eggs, but for Python 2.7 32-bits only.
     92 - Python binaries (32-bits and 64-bits) can be found at codegood.com [http://www.codegood.com/archives/4 for Python 2.6] and [http://www.codegood.com/archives/129 for Python 2.7]; however they have been last updated in 2010, so it only proposes version 1.2.3, which should however work fine
     93 - recent Python 2.7 wheels (32-bits and 64-bits) can be found in the [http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python Unofficial Windows Binaries for Python Extension Packages], kindly provided by Christoph Gohlke, Laboratory for Fluorescence Dynamics, University of California, Irvine.
     94 - if you are using ActiveState Python 2.6 on Windows, you can install with `pypm install mysql-python`
     95 - last but not least, the [http://conda.pydata.org/docs/ Conda] project also contains recent versions of this package and it's handy for use by continuous integration systems as the package can be installed non-interactively using a simple `conda install -qy mysql-python` command (32-bits and 64-bits)
    8696
    8797On FreeBSD this package is called {{{py-MySQLdb}}} in [http://www.freshports.org/databases/py-MySQLdb55/ the ports collection].
    8898
    89 If you are using ActiveState Python 2.6 on Windows, you can install with {{{pypm install mysql-python}}}.
    9099
    91100==== Thread-safety is important