查看mysql端口连接情况
netstat -antp | grep 3306
1.确保/etc/rc.d/init.d/mysqld 存在,用service mysqld start能够正常启动
2.运行命令:chkconfig --add mysqld
3.运行命令: chkconfig --level 345 mysqld on
4.重启即可.
本文介绍如何检查MySQL的3306端口连接状态,并提供确保MySQL服务正常启动的步骤,包括添加服务到系统启动项的方法。
查看mysql端口连接情况
netstat -antp | grep 3306
1.确保/etc/rc.d/init.d/mysqld 存在,用service mysqld start能够正常启动
2.运行命令:chkconfig --add mysqld
3.运行命令: chkconfig --level 345 mysqld on
4.重启即可.
1026

被折叠的 条评论
为什么被折叠?