| 21 | MySQL is only experimentally supported with the patch attached to ticket #986. It also has several limitations. |
| 22 | * Have a working copy of MySQL version 4.1.12 or greater. |
| 23 | * [http://sourceforge.net/projects/mysql-python MySQLdb] - Python database driver for MySQL |
| 24 | * Create a database and user for your Trac environment |
| 25 | {{{ |
| 26 | % createdatabase dbname |
| 27 | % mysql |
| 28 | > grant all privileges on dbname.* to dbuser identified by 'dbpass'; |
| 29 | > quit |
| 30 | }}} |
| 31 | * Run trac-admin to create a new Trac environment. When prompted for a database connection string, use: |
| 32 | {{{ |
| 33 | mysql://dbuser:dbpass@host:port/dbname |
| 34 | }}} |
| 35 | * or |
| 36 | {{{ |
| 37 | mysql://dbuser:dbpass@host/dbname |
| 38 | }}} |