forked from pingcap/tiflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syncpoint (ticdc): make syncpoint support base64 encoded password (pi…
…ngcap#11162) close pingcap#10516
- Loading branch information
1 parent
0ba9329
commit 54e93ed
Showing
3 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- create user and grant all privileges | ||
-- 'test123456' encoded by base64 -> "dGVzdDEyMzQ1Ng==" | ||
CREATE USER 'syncpoint'@'%' IDENTIFIED BY 'test123456'; | ||
|
||
-- 授予所有数据库的所有权限 | ||
GRANT ALL PRIVILEGES ON *.* TO 'syncpoint'@'%' WITH GRANT OPTION; | ||
|
||
-- 应用权限更改 | ||
FLUSH PRIVILEGES; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters