Edgewall Software

Changes between Version 36 and Version 37 of MySqlDb


Ignore:
Timestamp:
May 11, 2009, 6:56:07 PM (15 years ago)
Author:
Christian Boos
Comment:

how to make sure you're using a thread-safe version of the bindings

Legend:

Unmodified
Added
Removed
Modified
  • MySqlDb

    v36 v37  
    6161 - ''NOTE: '' On FreeBSD this package is called py-MySQLdb (in ports)
    6262
     63
     64You should make sure that you're using a thread-safe version of the bindings.
     65To verify this, you can check the ''System Information'' section in the ''About Trac'' page, when you are logged with a user having the CONFIG_VIEW or the TRAC_ADMIN permission.
     66You should see a line reading: '''MySQL''' `server: "...", client: "...", thread-safe: 1`.
     67If you're seeing `thread-safe: 0` instead, the MySQL-python version you're using was not correctly built. Check the following resources to see what you should do:
     68 - [http://mysql-python.svn.sourceforge.net/viewvc/mysql-python/tags/MySQLdb-1.2.2/MySQLdb/README?revision=499&view=raw MySQLdb-1.2.2/MySQLdb/README], see the ''Building and installing'' section,
     69 - [http://mysql-python.svn.sourceforge.net/viewvc/mysql-python/tags/MySQLdb-1.2.2/MySQLdb/site.cfg?revision=499&view=raw MySQLdb-1.2.2/MySQLdb/site.cfg]
     70
    6371=== Troubleshooting ===
    6472If you get an error from python when using trac-admin like this: