赞
踩
最近开始学mysql
navicat是个很好的gui工具
刚开始学就踩坑,连不上,报错is not allowed to connect to this MySQL server
查了一会,发现是主机地址问题
此文章为意思补全文章,帮助新手小白理解命令作用
感谢单手入天象大佬的文章
mysql -u root -p
use mysql;
select host from user where user='root';
update user set host = '%' where user ='root';
flush privileges;
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。