Xie Han
87dadd4a2f
MySQL client disable session state tracking.
2023-08-27 00:22:12 +08:00
Xie Han
8fb40d67db
MySQL parser parses on each package.
2023-08-17 23:48:30 +08:00
Xie Han
a39bd635fb
MySQL client add CLIENT_SESSION_TRACK.
2023-08-15 23:39:25 +08:00
Xie Han
a46de73872
Fix mysql parsing.
2023-08-15 18:43:49 +08:00
Xie Han
a580f0b618
Remove OpenSSL 3 deprecated RSA functions.
2023-02-22 01:38:00 +08:00
Xie Han
bc57100589
Fix RSA includes.
2023-02-20 20:03:13 +08:00
Xie Han
25711543a8
Fix MySQLHandshakeResponse's encode and unify codes
2023-02-13 23:07:40 +08:00
kedixa
34cf780d3b
mysql empty password auth
2023-02-10 20:48:22 +08:00
Xie Han
47cf47b76d
Check RSA public key format.
2023-02-10 17:37:34 +08:00
Xie Han
195dd5310e
Fix RSA encryption. Fully support sha256 and caching_sha2 now.
2023-02-10 16:09:07 +08:00
Xie Han
486762c8b1
Add MySQL RSA encrypt.
2023-02-10 03:35:54 +08:00
Xie Han
5070039759
Support MySQL sha256 password with ssl
2023-02-09 23:19:49 +08:00
Xie Han
be464eb782
Simplify codes.
2023-02-09 03:27:45 +08:00
Xie Han
7638d18f58
Support caching sha2 with fast auth or SSL
2023-02-08 23:11:09 +08:00
Xie Han
f95bb1620d
Send auth_plugin_name in auth request
2023-02-08 20:38:35 +08:00
Xie Han
7068e035ba
Optimize MySQL native password auth
2023-02-08 18:01:28 +08:00
Xie Han
89ffe576ad
Remove MySQLBytesRequest. Add MySQLAuthSwitchRequest.
2023-02-06 19:32:50 +08:00
Xie Han
1a144f3bc0
Simplify MySQL auth_plugin_data, always 20 bytes
2023-02-06 18:20:25 +08:00
Xie Han
f7285fe708
Add MySQLBytesRequest
2023-02-06 02:57:51 +08:00
XieHan
defd4d5922
Add class MySQLAuthResponse to support auth switch
2023-02-05 03:50:11 +08:00
XieHan
b9170b29a5
Add checking overflow
2023-02-05 02:35:53 +08:00
XieHan
b2c27d023f
Decode more info from MySQL init handshake package, add CLIENT_PLUGIN_AUTH
2023-02-03 23:00:21 +08:00
XieHan
e3096ae607
Change function name.
2022-12-29 03:00:28 +08:00
XieHan
cd10f368b5
fix MySQL Message seqid bug
2021-12-01 21:09:01 +08:00
XieHan
7cac784725
Fix 'include' errors
2021-10-04 00:43:03 +08:00
XieHan
261924519c
add MySQL SSL client
2021-06-02 21:01:02 +08:00
xiehan
a89752215c
Merge branch 'master' into master
2021-05-19 21:21:52 +08:00
holmes1412
99b80c74e8
update MySQLMessage api
2021-05-19 16:35:36 +08:00
holmes1412
fa3cdfa2e2
update codes
2021-05-19 16:22:56 +08:00
holmes1412
a5dea8a363
fix MySQL parse multi result for OK packet and error
2021-05-19 02:28:55 +08:00
XieHan
f95b559711
add MySQLSSLRequest for SSL MySQL client.
2021-05-18 01:15:20 +08:00
holmes1412
7fb216885e
fix mysql decode char * overflow bug
2021-04-08 23:37:56 +08:00
XieHan
117b163c54
fix messages operator= rvalue
2021-01-29 01:16:27 +08:00
XieHan
7f3784b589
update messages move constructors
2021-01-27 23:49:32 +08:00
XieHan
c344ef41d6
add ProtocolMessage attachment
2021-01-27 19:54:24 +08:00
XieHan
fdf4c5c26e
optimize messages' move constructor.
2020-12-21 20:17:18 +08:00
XieHan
07b55d0b13
fix mysql handshake
2020-12-17 19:48:32 +08:00
XieHan
129b8271f2
fix MySQLMessage::encode
2020-11-24 19:45:03 +08:00
holmes1412
8bbb0504df
fix MySQL bug about multi resultset
...
1. fix the way to parse ok packet and check MORE_RESULTS_EXIST in ok packet;
2. update MySQLResultCursor the way to set MYSQL_STATUS_GET_RESULT;
3. fix MySQLMessage set_ok_packet().
4. update tutorial;
2020-11-02 21:45:11 +08:00
XieHan
562de0e06a
remove some ifdef
2020-10-28 17:30:35 +08:00
XieHan
354ff7432b
initialization
2020-07-29 13:42:26 +08:00