centos7连接不了mysql客户端怎么办

2025年01月28日 MYSQL Python51

分析如下:

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

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

#netstat -nltp

启动服务:

#service mysqld start

原因二、防火设置

关闭防火:

systemctl stop firewalld.service

禁止开机启动:

systemctl disable firewalld.service

本文链接:http://so.lmcjl.com/news/22199/

展开阅读全文