-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Open
Labels
compatibility-mysql80This is a compatibility issue with MySQL 8.0(but NOT 5.7)This is a compatibility issue with MySQL 8.0(but NOT 5.7)component/mysql-protocoltype/compatibilitytype/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.
Description
Enhancement
The caching_sha2_password authentication method supports a "fast authentication" (cached) and a "full authentication". TiDB only supports "full authentication". This issue is to add support for "fast authentication".
Lines 702 to 704 in c82ba4e
| // Currently we always send a "FastAuthFail" as the cached part of the protocol isn't implemented yet. | |
| // This triggers the client to send the full response. | |
| err := cc.writePacket([]byte{0, 0, 0, 0, shaCommand, fastAuthFail}) |
https://dev.mysql.com/doc/dev/mysql-server/latest/page_caching_sha2_authentication_exchanges.html
Previous work: pingcap/parser#1328
Related:
lance6716
Metadata
Metadata
Assignees
Labels
compatibility-mysql80This is a compatibility issue with MySQL 8.0(but NOT 5.7)This is a compatibility issue with MySQL 8.0(but NOT 5.7)component/mysql-protocoltype/compatibilitytype/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.