create user '
user'@'192.168.1.%'
identified by '******';
grant all privileges on `database`.* to 'user'@'192.168.1.%' with grant option;
flush privileges;
grant all privileges on `database`.* to 'user'@'192.168.1.%' with grant option;
flush privileges;