grant all on *.* to user@'192.168.1.%' identified by 'password'; 给user用户分配所有192.168.1局域网段的访问权限,访问密码为:password