centos7连接不了mysql客户端怎么办
分析如下:
(推荐教程:mysql数据库学习教程)
原因一、服务未启动,查看启动端口:
#netstat -nltp
启动服务:
#service mysqld start
原因二、防火墙设置
关闭防火墙:
systemctl stop firewalld.service
禁止开机启动:
systemctl disable firewalld.service
来源:PY学习网:原文地址:https://www.py.cn/article.html