摘要: 1. 进入mysql服务器,mysql -u root -p 登录myql服务,SELECT user, host FROM mysql.user;看到root只允许localhost本机连接 2. 执行use mysql; update user set host = '%' where user 阅读全文
posted @ 2024-07-13 07:27 少年阿川 阅读(377) 评论(0) 推荐(0)
摘要: 查看版本: firewall-cmd --version 显示状态: firewall-cmd --state 查看所有打开的端口: firewall-cmd --zone=public --list-ports firewall-cmd --zone=public --add-port=80/tc 阅读全文
posted @ 2024-07-13 06:57 少年阿川 阅读(380) 评论(0) 推荐(0)