Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xuriwuyun committed Feb 13, 2025
1 parent b5608e7 commit 666f5e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/mysql/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ systemAccounts:
passwordGenerationPolicy: *defaultPasswordGenerationPolicy
- name: proxysql
statement:
create: CREATE USER ${KB_ACCOUNT_NAME} IDENTIFIED BY '${KB_ACCOUNT_PASSWORD}'; GRANT USAGE, REPLICATION CLIENT ON *.* TO '${KB_ACCOUNT_NAME}';
create: CREATE USER ${KB_ACCOUNT_NAME} IDENTIFIED BY '${KB_ACCOUNT_PASSWORD}'; GRANT REPLICATION CLIENT, USAGE ON ${ALL_DB} TO ${KB_ACCOUNT_NAME};
passwordGenerationPolicy: *defaultPasswordGenerationPolicy
vars:
- name: CLUSTER_NAME
Expand Down Expand Up @@ -318,7 +318,7 @@ systemAccounts:
letterCase: MixedCases
- name: proxysql
statement:
create: CREATE USER ${KB_ACCOUNT_NAME} IDENTIFIED BY '${KB_ACCOUNT_PASSWORD}'; GRANT USAGE, REPLICATION CLIENT ON *.* TO '${KB_ACCOUNT_NAME}';
create: CREATE USER ${KB_ACCOUNT_NAME} IDENTIFIED BY '${KB_ACCOUNT_PASSWORD}'; GRANT USAGE, REPLICATION CLIENT ON *.* TO ${KB_ACCOUNT_NAME};
passwordGenerationPolicy:
length: 16
numDigits: 8
Expand Down

0 comments on commit 666f5e2

Please sign in to comment.