TIDB如何设置访问白名单

host不能写多个ip,你可以类似这样搞:

CREATE USER `rw_user`@`192.168.1.1` IDENTIFIED BY '111111';
CREATE USER `rw_user`@`192.168.1.2` IDENTIFIED BY '111111';