查看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端口连接情况
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.重启即可.