I do not know what needs to be set, or I knock this command in question, also invited experts point out, thank you.
(1) You can use the following command to create the user
CREATE USER 'root'@'192.168.204.1' IDENTIFIED BY ' 123456';
name of the user here can easily play
back the IP, can be a%, representing all the IP addresses.
IP can also write separately, you are your own IP address
if you are a virtual machine, usually xxx1 the IP.
(2) then give permission
Grant All privileges ON . To 'root'@'192.168.204.1';
I'm here all the permissions granted to the user @ host.
(3) then refresh
flush privileges;
Source
operation and maintenance Guild: Allows remote hosts to access the database