Mercurial > p > roundup > code
comparison doc/mysql.txt @ 2407:ef226254ef46 maint-0.7
some more documentation work
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 09 Jun 2004 00:11:49 +0000 |
| parents | dbb78664e427 |
| children | 7b2ea468381a |
comparison
equal
deleted
inserted
replaced
| 2406:3f66eb446aa4 | 2407:ef226254ef46 |
|---|---|
| 1 ============= | 1 ============= |
| 2 MySQL Backend | 2 MySQL Backend |
| 3 ============= | 3 ============= |
| 4 | 4 |
| 5 :version: $Revision: 1.8 $ | 5 :version: 1.8 |
| 6 | 6 |
| 7 This notes detail the MySQL backend for the Roundup issue tracker. | 7 This notes detail the MySQL backend for the Roundup issue tracker. |
| 8 | 8 |
| 9 | 9 |
| 10 Prerequisites | 10 Prerequisites |
| 18 if you have no other choice). If you're running < 4.0.16 (but not <4.0) | 18 if you have no other choice). If you're running < 4.0.16 (but not <4.0) |
| 19 then you'll need to use BDB to pass all unit tests. Edit the | 19 then you'll need to use BDB to pass all unit tests. Edit the |
| 20 ``roundup/backends/back_mysql.py`` file to enable DBD instead of InnoDB. | 20 ``roundup/backends/back_mysql.py`` file to enable DBD instead of InnoDB. |
| 21 2. Python MySQL interface - http://sourceforge.net/projects/mysql-python | 21 2. Python MySQL interface - http://sourceforge.net/projects/mysql-python |
| 22 | 22 |
| 23 :Note: the InnoDB implementation has a bug that Roundup tickles. See | 23 .. note:: |
| 24 http://bugs.mysql.com/bug.php?id=1810 | 24 The InnoDB implementation has a bug__ that Roundup tickles. See |
| 25 | |
| 26 __ http://bugs.mysql.com/bug.php?id=1810 | |
| 25 | 27 |
| 26 Running the MySQL tests | 28 Running the MySQL tests |
| 27 ======================= | 29 ======================= |
| 28 | 30 |
| 29 Roundup tests expect an empty MySQL database. Two alternate ways to provide | 31 Roundup tests expect an empty MySQL database. Two alternate ways to provide |
| 41 | 43 |
| 42 2. If your administrator has provided you with database connection info, | 44 2. If your administrator has provided you with database connection info, |
| 43 you can modify MYSQL_* constants in the file test/test_db.py with | 45 you can modify MYSQL_* constants in the file test/test_db.py with |
| 44 the correct values. | 46 the correct values. |
| 45 | 47 |
| 46 Note that the MySQL database should not contain any tables. Tests will not | 48 The MySQL database should not contain any tables. Tests will not |
| 47 drop the database with existing data. | 49 drop the database with existing data. |
| 48 | 50 |
| 49 | 51 |
| 50 Additional configuration | 52 Additional configuration |
| 51 ======================== | 53 ======================== |
