Mercurial > p > roundup > code
comparison doc/mysql.txt @ 2595:7b2ea468381a maint-0.7
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 20 Jul 2004 04:47:45 +0000 |
| parents | ef226254ef46 |
| children |
comparison
equal
deleted
inserted
replaced
| 2593:9e1c4c932323 | 2595:7b2ea468381a |
|---|---|
| 51 | 51 |
| 52 Additional configuration | 52 Additional configuration |
| 53 ======================== | 53 ======================== |
| 54 | 54 |
| 55 To initialise and use the MySQL database backend, roundup's configuration | 55 To initialise and use the MySQL database backend, roundup's configuration |
| 56 file (config.py in the tracker's home directory) should have the following | 56 file (``config.py`` in the tracker's home directory) should have the following |
| 57 entries:: | 57 entries (substituting real values of course):: |
| 58 | 58 |
| 59 MYSQL_DBHOST = 'localhost' | 59 MYSQL_DBHOST = 'localhost' |
| 60 MYSQL_DBUSER = 'rounduptest' | 60 MYSQL_DBUSER = 'rounduptest' |
| 61 MYSQL_DBPASSWORD = 'rounduptest' | 61 MYSQL_DBPASSWORD = 'rounduptest' |
| 62 MYSQL_DBNAME = 'rounduptest' | 62 MYSQL_DBNAME = 'rounduptest' |
| 63 MYSQL_DATABASE = ( MYSQL_DBHOST, MYSQL_DBUSER, MYSQL_DBPASSWORD, | 63 MYSQL_DATABASE = ( MYSQL_DBHOST, MYSQL_DBUSER, MYSQL_DBPASSWORD, |
| 64 MYSQL_DBNAME ) | 64 MYSQL_DBNAME ) |
| 65 | 65 |
| 66 Fill in the first four entries with values for your local MySQL installation | 66 Fill in the first four entries with values for your local MySQL installation |
| 67 before running "roundup-admin initialise". Use the commands in the `Running the | 67 before running "roundup-admin initialise". Use the commands in the |
| 68 MySQL tests` to set up a database if you have privilege, or ask your local | 68 `Running the MySQL tests`_ to set up a database if you have privilege, or |
| 69 administrator if not. | 69 ask your local administrator if not. |
| 70 | 70 |
| 71 | 71 |
| 72 Showing MySQL who's boss | 72 Showing MySQL who's boss |
| 73 ======================== | 73 ======================== |
| 74 | 74 |
| 80 # rm -rf /var/lib/mysql/rounduptest | 80 # rm -rf /var/lib/mysql/rounduptest |
| 81 # /etc/init.d/mysql start | 81 # /etc/init.d/mysql start |
| 82 | 82 |
| 83 and all will be better (note that on some systems, ``mysql`` is spelt | 83 and all will be better (note that on some systems, ``mysql`` is spelt |
| 84 ``mysqld``). | 84 ``mysqld``). |
| 85 |
