shardingsphere icon indicating copy to clipboard operation
shardingsphere copied to clipboard

Implement more authenticator types for MySQL and PostgreSQL

Open RaigorJiang opened this issue 2 years ago • 3 comments

Hi community,

Now Proxy already supports specifying different password authentication methods for users, which provides users with more choices.

We have implemented:

  • MySQL
    • mysql_native_password
    • mysql_clear_password
    • caching_sha2_password
  • PostgreSQL
    • md5
    • password
  • openGauss
    • md5
    • scram-sha-256

Now, there are still the following to be added, and everyone is welcome to participate:

  • MySQL
    • [ ] mysql_old_password
    • [ ] authentication_windows_client
  • PostgreSQL
    • [ ] scram-sha-256

The configuration in #24313 can be used as a reference:

authority:
  users:
    - user: root@%
      password: root
      authenticationMethodName: md5
    - user: sharding
      password: sharding
  authenticators:
    md5:
      type: MD5

props:
  proxy-frontend-database-protocol-type: openGauss

Refenence

RaigorJiang avatar Feb 23 '23 11:02 RaigorJiang

I'll try it

Qianyi951015 avatar Feb 23 '23 15:02 Qianyi951015

Welcome @Qianyi951015

RaigorJiang avatar Feb 24 '23 02:02 RaigorJiang

Let me try.

yx9o avatar Mar 23 '24 02:03 yx9o