Home >Database >Mysql Tutorial >解决mysql客户端不能用IP地址访问的有关问题

解决mysql客户端不能用IP地址访问的有关问题

WBOY
WBOYOriginal
2016-06-07 16:23:571213browse

解决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;

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn