Maison > Article > base de données > 解决mysql客户端不能用IP地址访问的有关问题
解决mysql客户端不能用IP地址访问的问题 use mysql; select host,user from user; use mysql; update user set host = '%' where user = 'root'; select host, user from user; FLUSH PRIVILEGES;
解决mysql客户端不能用IP地址访问的问题use mysql;
select host,user from user;
use mysql;
update user set host = '%' where user = 'root';
select host, user from user;
FLUSH PRIVILEGES;