grant all privileges on *.* to 'root'@'ip' identified by 'password' with grant option;flush privileges;