首页 > IT职业 > IT图书 > centos7连接不了mysql客户端怎么办

分析如下:
(推荐教程:mysql数据库学习教程)
原因一、服务未启动,查看启动端口:
#netstat -nltp
启动服务:
#service mysqld start
原因二、防火墙设置
关闭防火墙:
systemctl stop firewalld.service
禁止开机启动:
systemctl disable firewalld.service
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/3378/viewspace-2832648/ ,如需转载,请注明出处,否则将追究法律责任。