我的gflag配置如下:
--embed_router_conf={"datasources":[{"id":"ds001","name":"u1000","kind":"MYSQL","connection_str":"db=secure_net_temporary;user=root;password=iGw8F6PN11;host=mysql1;port=3306;auto-reconnect=true"},{"id":"ds002","name":"u1000_2","kind":"POSTGRESQL","connection_str":"dbname=postgres user=postgres password=123456 host=192.168.2.185 port=5432"},{"id":"ds003","name":"u1000_3","kind":"MYSQL","connection_str":"user=SYSDBA;password=SYSDBA001;host=192.168.1.117;port=5236;auto-reconnect=true"} ],"rules":[{"db":"*","table":"*","datasource_id":"ds001"},{"db":"public","table":"*","datasource_id":"ds002"} ]}
其中ds003数据源是达梦的。