USE mysql;
SELECT 'host' FROM USER WHERE USER='root';
UPDATE USER SET HOST = '%' WHERE USER ='root';
FLUSH PRIVILEGES;

GRANT ALL PRIVILEGES ON *.* TO 'user'@'192.168.200.25' IDENTIFIED BY 'pwd' WITH GRANT OPTION;
FLUSH PRIVILEGES;