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

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

WBOY
Release: 2016-06-07 16:23:57
Original
1229 people have browsed it

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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template