Skip to content

Commit 95e91c7

Browse files
Refactor test configuration inside README
1 parent 1a28e34 commit 95e91c7

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,6 @@ The project is test with:
4545

4646
It's not tested in real production situation.
4747

48-
TESTING
49-
=======
50-
51-
Make sure you have the following configuration set in your mysql config file (usually my.cnf on development env):
52-
53-
log-bin=mysql-bin
54-
server-id=1
55-
binlog_do_db=pymysqlreplication_test
56-
5748
Limitations
5849
=============
5950

@@ -254,6 +245,14 @@ Tests
254245
========
255246
<b>Be carefull</b> tests will reset the binary log of your MySQL server.
256247

248+
Make sure you have the following configuration set in your mysql config file (usually my.cnf on development env):
249+
250+
log-bin=mysql-bin
251+
server-id=1
252+
binlog_do_db=pymysqlreplication_test
253+
binlog-format = row #Very important if you want to receive write, update and delete row events
254+
255+
257256
To run tests:
258257

259258
python setup.py test

0 commit comments

Comments
 (0)