Summary
I would like to use caching_sha2_password authentication type in a situation where sslMode=DISABLED.
Detailed description
The way I tried it is,
- sslMode=DISABLED&allowPublicKeyRetrieval=true
- sslMode=DISABLED&allowPublicKeyRetrieval=true&tcpKeepAlive=true
- sslMode=DISABLED&allowPublicKeyRetrieval=true&&serverRsaPublicKeyFile=xxx
Relevant context
Error message is,
Caused by: io.r2dbc.spi.R2dbcPermissionDeniedException: Authentication type 'caching_sha2_password' must require SSL in full authentication phase
Your environment
- MySQL version : 8.0.28
- SSL : none
Additional information
SSL cannot be enabled on the DB server.
Checklist