mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-03 12:44:25 -07:00
Add OceanBase support for creating user and setting password
This commit is contained in:
parent
022ed60906
commit
3825d0925e
2 changed files with 15 additions and 2 deletions
|
@ -17,7 +17,10 @@ def use_old_user_mgmt(cursor):
|
|||
|
||||
return LooseVersion(version) < LooseVersion("5.7")
|
||||
|
||||
|
||||
def use_oceanbase(cursor):
|
||||
version = get_server_version(cursor)
|
||||
return 'oceanbase' in version.lower()
|
||||
|
||||
def supports_identified_by_password(cursor):
|
||||
version = get_server_version(cursor)
|
||||
return LooseVersion(version) < LooseVersion("8")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue