CREATE DB_DISCOVERY RULE
discoveryType
specifies the database discovery service type,ShardingSphere
has built-in support forMySQL.MGR
;- Duplicate
ruleName
will not be created.
- Create database discovery rule
STORAGE_UNITS(su_0, su_1, su_2),
TYPE(NAME='MySQL.MGR',PROPERTIES('group-name'='92504d5b-6dec')),
HEARTBEAT(PROPERTIES('keep-alive-cron'='0/5 * * * * ?'))
CREATE
, , RULE
, STORAGE_UNITS
, TYPE
, NAME
, PROPERTIES
,