先进入Linux服务器,然后进入服务器mysql
1: 进入服务器 mysql -uroot -p
2: 输入密码 123456
3: use mysql;
4 : GRANT ALL ON *.* TO root@'61.170.218.190' IDENTIFIED BY '123456' WITH GRANT OPTION;
5: flush privileges;
先进入Linux服务器,然后进入服务器mysql
1: 进入服务器 mysql -uroot -p
2: 输入密码 123456
3: use mysql;
4 : GRANT ALL ON *.* TO root@'61.170.218.190' IDENTIFIED BY '123456' WITH GRANT OPTION;
5: flush privileges;