![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
centos7
文章平均质量分 68
angelo_gs
这个作者很懒,什么都没留下…
展开
-
MySql存在多个root用户
因为mysql的登陆用户是可以限制某个用户在某个IP才能登陆的,所以你看到一个用户有多条数据也是不奇怪,你可以将Host+user来作为一个标准一、 用户登录格式: mysql -h主机地址 -u用户名 -p用户密码mysql -h110.110.110.110 -uroot -p123本地可以直接mysql –uroot -p二、 用户退出exit、quit三、添加用户mysql.user表保存的是用户的登录信息直接添加无权限insert into my...转载 2020-07-01 17:46:33 · 7721 阅读 · 1 评论 -
解决CentOS7关闭/开启防火墙出现Unit iptables.service failed to load: No such file or directory
CentOS7中执行service iptables start/stop会报错Failed to start iptables.service: Unit iptables.service failed to load: No such file or directory.在CentOS 7或RHEL 7或Fedora中防火墙由firewalld来管理,如果要添加范围例外端口 ...转载 2018-07-21 00:20:21 · 488 阅读 · 0 评论