解决mysql客户端不能用IP地址访问的有关问题
程序员文章站
2022-05-09 08:33:06
...
解决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;
上一篇: PHP正则表达式的几则使用技巧