mysql -u root -p
use mysql;
grant all privileges on *.* to 'root'@'your_ip' identified by 'your_password';
flush privileges;
mysql -u root -p
use mysql;
grant all privileges on *.* to 'root'@'your_ip' identified by 'your_password';
flush privileges;