
解决方法:修改/etc/mysql/mycnf文件。打开文件,找到下面内容:
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure
bind-address = 127001
把上面这一行注释掉或者把127001换成合适的IP,建议注释掉。
重新启动后,重新使用netstat检测:
~# netstat -an | grep 3306
tcp 0 0 0000:3306 0000: LISTEN
以上就是关于mysql环境设置时端口为3306,现在为7500,怎么回事全部的内容,包括:mysql环境设置时端口为3306,现在为7500,怎么回事、、等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)