解决方法1、:setsebool -P httpd_can_network_connect_db=1
解决方法2、:修改/etc/selinux/config SELINUX=enforcing 为 SELINUX=disabled
相关文章
- 12-09MySQL8.0报错Can't connect to MySQL server on 'localhost' (10061)的解决办法
- 12-09Mac端解决(含修改8.0.13版的密码):Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
- 12-09如何修复ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)。
- 12-09MySQL8.0报错Can't connect to MySQL server on 'localhost' (10061)的解决办法
- 12-09(2003, “Can‘t connect to MySQL server on ‘localhost‘ (10061)“)解决
- 12-09MySQL:Can't connect to MySQL server on 'localhost'(10061)
- 12-09Mysql登录出现Can‘t connect to MySQL server on localhost (10061)【解决】
- 12-09启动MySQL报错:ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost:3306' (1006
- 12-09【转】在命令行输入 mysql -u root -p 登录mysql,返回”Can't connect to MySQL server on localhost (10061)”错误
- 12-09Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)