For example: computer A wants to connect to the database of computer B
Grant access to computer B's database:
select host, user from user;
grant all privileges on *.* to root@'%' identified by '密码' with grant option;
flush privileges;
For example: computer A wants to connect to the database of computer B
Grant access to computer B's database:
select host, user from user;
grant all privileges on *.* to root@'%' identified by '密码' with grant option;
flush privileges;