解决方法如下: 选择:网络->windows 防火墙->高级设置->入站规则 然后点击右上角的新建规则 选择"端口" 下一步,输入3306端口, 转载于:https://www.cnblogs.com/justwake/archive/2013/05/24/3096192.html