centos7连接不了mysql客户端怎么办[mysql基础教程]

python

分析如下:

(推荐教程:mysql数据库学习教程)

原因一、服务未启动,查看启动端口:

#netstat -nltp

启动服务:

#service mysqld start

原因二、防火墙设置

关闭防火墙:

systemctl stop firewalld.service

禁止开机启动:

systemctl disable firewalld.service

以上是 centos7连接不了mysql客户端怎么办[mysql基础教程] 的全部内容, 来源链接: utcz.com/z/528122.html

回到顶部