apache / shardingsphere

Distributed SQL transaction & query engine for data sharding, scaling, encryption, and more - on any database.
Apache License 2.0
19.86k stars 6.73k forks source link

Implement more authenticator types for MySQL and PostgreSQL #24322

Open RaigorJiang opened 1 year ago

RaigorJiang commented 1 year ago

Hi community,

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

We have implemented:

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

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

Qianyi951015 commented 1 year ago

I'll try it

RaigorJiang commented 1 year ago

Welcome @Qianyi951015

yx9o commented 6 months ago

Let me try.