MySQL限制IP网段范围从远程访问的方法mysql>grant select,insert,update,create on test.* to test@'192.168.8.%' identified by '123456'; mysql>grant select,insert,update,create on test.* to test@'192.