Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql账号管理优化 #1436

Merged
merged 1 commit into from
Apr 10, 2022
Merged

mysql账号管理优化 #1436

merged 1 commit into from
Apr 10, 2022

Conversation

nick2wang
Copy link
Collaborator

  1. 当mysql的binlog_format为非ROW格式时(STATEMENT、MIXED),在主库创建/删除账号与授权操作不会同步到从库,导致主从账号不一致,需要指定当前操作数据库为mysql
  2. 新增锁定/解锁账号(支持mysql 5.7.6+)

@codecov
Copy link

codecov bot commented Mar 30, 2022

Codecov Report

Merging #1436 (65700cd) into master (a8967be) will decrease coverage by 0.12%.
The diff coverage is 6.66%.

@@            Coverage Diff             @@
##           master    #1436      +/-   ##
==========================================
- Coverage   74.86%   74.74%   -0.13%     
==========================================
  Files          82       82              
  Lines       13219    13244      +25     
==========================================
+ Hits         9897     9899       +2     
- Misses       3322     3345      +23     
Impacted Files Coverage Δ
sql/urls.py 100.00% <ø> (ø)
sql/instance_account.py 10.43% <6.66%> (-0.30%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a8967be...65700cd. Read the comment docs.

@hhyo hhyo merged commit 70161e1 into hhyo:master Apr 10, 2022
@nick2wang nick2wang deleted the optimize-mysql-account branch April 11, 2022 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants