INADA Naoki
52980174ce
Merge pull request #585 from elemount/authissue
...
Fix handle AuthSwitch packet bug.
2017-06-29 18:54:47 +09:00
elemount
779d17db82
Fix handle AuthSwitch packet bug.
...
MySQL documents annouce the AuthSwitch packet is contains with two
component `auth_plugin_name` and `auth_data`, which `auth_data` is
a string[EOF] string. But in fact it will return a string[NUL] string
or can also say the string[EOF] is consist of a 20bytes string and a '\0'
byte. Now we just follow the document which use those 21bytes as salt
and that is not correct.
2017-06-29 11:20:50 +08:00
INADA Naoki
ef91351a73
Fix connection procedure auth-switch wrong plugin auth method. ( #582 )
2017-06-21 19:37:14 +09:00
lishuode
5f6f111928
Old password plugin can accept '\0' value
2017-06-21 08:58:39 +00:00
lishuode
f371dd554d
Fix connection procedure auth-switch password.
...
For AuthSwitch feature, mysql_native_password and mysql_old_password
should reply only 8-byte or 20-byte scrambled password without \0. So
fixed it.
2017-06-20 05:03:08 +00:00
Ryan J Ollos
a29347c27b
Fix `TypeError` with Python 2.7 ( #575 )
...
TypeError: 'encoding' is an invalid keyword argument
for this function
2017-05-29 14:38:52 +09:00
Ryan J Ollos
e58fb6cc10
Don't apppend `.None` to version number ( #576 )
2017-05-29 14:38:36 +09:00
Spencer
73c22c78d1
Update API docs ( #573 )
2017-05-25 01:06:50 +09:00
INADA Naoki
c364263593
register README to PyPI in next release
2017-04-06 03:18:28 +09:00
INADA Naoki
c35cd81544
Python 3.7 is not accepted by PyPI
2017-04-06 03:11:59 +09:00
INADA Naoki
f6d2853649
0.7.11
2017-04-06 03:07:07 +09:00
Wybe van der Ham
0e01158fb8
fix calling None.close()
2017-03-02 21:33:28 +09:00
Guangyang Li
103a00d4ee
Allow semicolon at the end of bulk insert query ( #545 )
2017-02-28 18:54:17 +09:00
Juan Antonio Osorio
557d0d90a5
Enable reading SSL parameters from configuration file ( #552 )
...
This enables the reading of some basic SSL parameters from the
configuration file. It gives precedence to the ssl parameters provided
by the class parameter (the ssl dict).
2017-02-28 18:53:39 +09:00
INADA Naoki
3ccaeda408
Special thanks to Bryan Helmig.
2017-02-14 21:40:15 +09:00
INADA Naoki
34de70f120
0.7.10
2017-02-14 21:33:00 +09:00
INADA Naoki
b5e17cee46
check local_infile option
2017-02-14 21:27:57 +09:00
INADA Naoki
166900976a
Update CHANGELOG
2017-02-14 21:22:46 +09:00
Benjamin Kane
9db942e755
Small grammar chenge to ISSUE_TEMPLATE.md ( #544 )
...
Mostly added articles.
2017-01-27 15:12:11 +09:00
INADA Naoki
a7e6d14c79
Raise SERVER_LOST error for MariaDB's shutdown packet ( #540 )
...
Raise SERVER_LOST error for MariaDB's shutdown packet
fixes #526
2017-01-13 18:00:33 +09:00
INADA Naoki
7742180575
fix travis build ( #543 )
...
* update some MySQL and PyPy3 versions
* stop using tox
* not use cache for MySQL download
* don't use sudo
* Use trusty vm
* don't install mariadb-test package
* Throw away PAM. I can't maintain it.
* remove tests using same Python version
* travis: Add "3.7-dev" python
2017-01-13 17:55:39 +09:00
INADA Naoki
e22a14a100
Change default connect_timeout to 10.
...
Use same default value
https://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_connect_timeout
2017-01-12 21:42:26 +09:00
INADA Naoki
0e19ed3433
remove template misused ( #542 )
2017-01-12 21:41:14 +09:00
jason
f7177a0afd
Ignore connect_timeout=0 option
2016-12-19 18:05:30 +09:00
Shyam Saladi
eced982f7c
docs fix ( #534 )
2016-12-04 19:28:50 +09:00
Damien Ciabrini
755dfdc2e1
Add bind_address option ( #529 )
...
Allow connecting to the DB from a specific network interface
2016-11-16 21:11:03 +09:00
niphlod
6c9d31a946
Use relative import ( #519 )
...
To allow (but not officially support) vendoring PyMySQL.
2016-10-13 14:06:57 +09:00
Carl Johan Gustavsson
40f6a70614
Fix PEP reference in README ( #514 )
2016-09-05 18:58:01 +09:00
INADA Naoki
049cc1d542
0.7.9
2016-09-04 04:14:08 +09:00
INADA Naoki
81cdb41710
Revert DEPRECATE_EOF support ( #513 )
2016-09-04 04:03:57 +09:00
INADA Naoki
ced55c43c9
Revert DEPRECATE_EOF support
2016-09-04 03:48:18 +09:00
INADA Naoki
c09ba86d84
better packet dump format
2016-09-04 02:10:16 +09:00
INADA Naoki
6f2dd7fbee
0.7.8
2016-09-01 20:11:02 +09:00
diana
73e88b8041
Revert error packet parsing changes ( #508 )
...
Revert the changes made in commit 02910b7
to the mysql error packet
parsing, as it didn't take the CLIENT_PROTOCOL_41 case into account.
It appears that the non-CLIENT_PROTOCOL_41 case was off by one as well
(sliced data on 4 vs 3).
I also added two new tests to cover those cases.
See: https://dev.mysql.com/doc/internals/en/packet-ERR_Packet.html
2016-09-01 11:06:58 +09:00
INADA Naoki
7d97090951
Update CHANGELOG
2016-08-30 01:52:57 +09:00
INADA Naoki
f85cda0818
0.7.7
2016-08-30 01:41:58 +09:00
INADA Naoki
02910b74bb
Simplify error reporting code ( #505 )
...
* Simplify error reporting code
* tests: Better error message
* Update travis config
2016-08-29 22:41:02 +09:00
INADA Naoki
4e36d5f613
Update ISSUE_TEMPLATE
2016-08-29 21:31:26 +09:00
INADA Naoki
c3ed301351
flake8 fix
2016-08-29 20:58:17 +09:00
INADA Naoki
f7226b5eff
flake8: constants.CR should not be checked
2016-08-29 20:54:59 +09:00
INADA Naoki
1f7ac250ab
Update CHANGELOG
2016-08-29 20:49:27 +09:00
INADA Naoki
308e835058
Support DEPRECATE_EOF ( #433 )
2016-08-29 20:40:45 +09:00
INADA Naoki
c33b17d325
Fix cursor doesn't use converter in connection ( #503 )
2016-08-28 13:20:24 +09:00
INADA Naoki
7eac3b16d2
Use """ for docstrings
2016-08-28 02:54:09 +09:00
ncycle
06fb5edf9f
add support for utf8mb4_unicode_520_ci ( #498 )
...
and other collations through id=247
2016-08-11 09:31:44 +09:00
INADA Naoki
397fb74cf4
remove deprecated config
2016-07-29 12:27:36 +09:00
INADA Naoki
6c9347c246
0.7.6
2016-07-29 12:22:03 +09:00
INADA Naoki
70f477726c
Fix SELECT CAST(... AS JSON) cause UnicodeError ( #496 )
...
* Fix SELECT CAST(... AS JSON) cause UnicodeError
fixes #488
2016-07-29 00:42:32 +09:00
INADA Naoki
634c1c309e
Update README.rst
2016-07-27 19:52:14 +09:00
INADA Naoki
666ff9565c
Merge pull request #491 from vtermanis/warning_fixes
...
Warning propagation improvements
2016-07-27 16:17:15 +09:00