Linux
Wingkin-
这个作者很懒,什么都没留下…
展开
-
MySQL 报错:ERROR 1820 (HY000): You must reset your password using ALTER USER statement before
安装步骤:Linux centos7安装mysql安装后运行mysql命令报错误:ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.解决办法执行以下命令修改密码:mysql> ALTER USER USER() IDENTIFIED BY 'wingkin45';#wingkin为密码如果执行命令时出现错误:ERROR原创 2020-12-09 14:36:33 · 51878 阅读 · 11 评论 -
Linux使用iptables管理防火墙
1.安装iptables-servicesyum install iptables-services2.iptables命令启动防火墙:service iptables start查询防火墙状态:service iptables status停止防火墙: service iptables stop重启防火墙:service iptables restart永久关闭防火墙:chkconfig iptables off永久关闭后启用:chkconfig iptables原创 2020-12-05 18:20:31 · 363 阅读 · 0 评论