Skip to content

Commit 5d1f555

Browse files
author
Anthony Baxter
committed
rewrite to fix english.
1 parent 0ae7acc commit 5d1f555

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

doc/mysql.txt

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,57 +2,57 @@
22
MySQL Backend
33
=============
44

5-
This is notes about mysql backend for roundup issue tracker.
5+
This notes detail the MySQL backend for the roundup issue tracker.
66

77

88
Prerequisites
99
=============
1010

11-
To use MySQL as backend for storing roundup data, you should additionally
12-
install:
11+
To use MySQL as the backend for storing roundup data, you also need
12+
to install:
1313

1414
1. MySQL RDBMS 3.23.34 or higher - http://www.mysql.com. Your MySQL
1515
installation should support Berkeley DB (BDB) tables for transaction
1616
support.
17-
2. Python interface to mysql - http://sourceforge.net/projects/mysql-python
17+
2. Python MySQL interface - http://sourceforge.net/projects/mysql-python
1818

1919

20-
How to run mysql tests?
20+
Running the MySQL tests
2121
=======================
2222

23-
Roundup tests expect an empty database available for use. There are two ways how to
24-
provide this:
23+
Roundup tests expect an empty MySQL database. Two alternate ways to provide
24+
this:
2525

26-
1. If you have root permissions on mysql server, you can create necessary
27-
database using this SQL sequence:
26+
1. If you have root permissions on the MySQL server, you can create
27+
the necessary database entries using this SQL sequence:
2828

2929
CREATE DATABASE rounduptest
3030
GRANT ALL PRIVILEGES ON rounduptest TO rounduptest@localhost IDENTIFIED BY 'rounduptest'
3131
FLUSH PRIVILEGES
3232

33-
2. If your administrator has provided you with database connection info, you
34-
can modify MYSQL_* constants in test/test_db.py with corresponding
35-
values.
33+
2. If your administrator has provided you with database connection info,
34+
you can modify MYSQL_* constants in the file test/test_db.py with
35+
the correct values.
3636

37-
Note, that mysql database should not contain any tables. Tests will not dare to
38-
drop database with data.
37+
Note that the MySQL database should not contain any tables. Tests will not
38+
drop the database with existing data.
3939

4040

4141
Additional configuration
4242
========================
4343

44-
To initialise and use mysql database roundup' configuration file (config.py in
45-
the tracker' home directory) should be appended with the following constants:
44+
To initialise and use the MySQL database backend, roundup's configuration
45+
file (config.py in the tracker's home directory) should have the following
46+
entries:
4647

4748
MYSQL_DBHOST = 'localhost'
4849
MYSQL_DBUSER = 'rounduptest'
4950
MYSQL_DBPASSWORD = 'rounduptest'
5051
MYSQL_DBNAME = 'rounduptest'
5152
MYSQL_DATABASE = ( MYSQL_DBHOST, MYSQL_DBUSER, MYSQL_DBPASSWORD, MYSQL_DBNAME )
5253

53-
Fill first four constants with real values before running
54-
"roundup-admin initialise".
55-
54+
Fill in the first four entries with values for your local MySQL installation
55+
before running "roundup-admin initialise".
5656

5757

5858
Andrey Lebedev <[email protected]>

0 commit comments

Comments
 (0)