@@ -84,22 +84,22 @@ That's all.
84
84
85
85
## Parameters for the pool initial:
86
86
87
- - ` host ` : Host of MySQL server
88
- - ` port ` : Port of MySQL server
89
- - ` user ` : User of MySQL server
90
- - ` password ` : Password of MySQL server
91
- - ` db ` : Database of MySQL server
92
- - ` charset ` : Charset of MySQL server
93
- - ` cursorclass ` : Class of MySQL Cursor
94
- - ` autocommit ` : auto commit mode
95
- - ` min_size ` : Minimum size of connection pool
96
- - ` max_size ` : Maximum size of connection pool
97
- - ` timeout ` : Watting time in the multi-thread environment
98
- - ` interval ` : Statistical cycle time
99
- - ` stati_mun ` : Statistical frequency
100
- - ` multiple ` : Regulation standard
101
- - ` counter ` : Counter
102
- - ` accumulation ` : Statiscal result
87
+ - ` host ` : Host of MySQL server, default for localhost
88
+ - ` port ` : Port of MySQL server, default for 3306
89
+ - ` user ` : User of MySQL server, default for None
90
+ - ` password ` : Password of MySQL server, default for None
91
+ - ` db ` : Database of MySQL server, default for None
92
+ - ` charset ` : Charset of MySQL server, default for utf8
93
+ - ` cursorclass ` : Class of MySQL Cursor, default for pymysql.cursors.DictCursor
94
+ - ` autocommit ` : auto commit mode, default for False
95
+ - ` min_size ` : Minimum size of connection pool, default for 1
96
+ - ` max_size ` : Maximum size of connection pool, default for 3
97
+ - ` timeout ` : Watting time in the multi-thread environment, default for 10.0
98
+ - ` interval ` : Statistical cycle time, default for 600.0
99
+ - ` stati_mun ` : Statistical frequency, default for 3
100
+ - ` multiple ` : Regulation standard, default for 4
101
+ - ` counter ` : Counter, default for 0
102
+ - ` accumulation ` : Statiscal result, default for 0
103
103
104
104
## Roadmap
105
105
@@ -122,3 +122,5 @@ PyMySQLPool is released under the MIT License. See LICENSE for more information.
122
122
Thank you for your interest in contribution of PyMySQLPool, your help and contribution is very valuable.
123
123
124
124
You can submit issue and pull requests, please submit an issue before submitting pull requests.
125
+
126
+ At last if the project is helpful to you, please click a star, thank you so much.
0 commit comments