

免费资源网 – https://freexyz.cn/
1、使用命令 service MySQLd status 命令来查看mysql 的启动状态
如图所示:
mysqld is stopped 那就说明mysql服务是停止状态,如果是 mysqld is running 那就说明mysql服务是启动状态
2、使用命令chkconfig –list 命令来查看mysql 的启动状态
如图所示:在以下服务中找到mysqld的服务,如果状态为off,说明mysql服务没有启动
3、使用命令chkconfig –list mysqld 命令来查看mysql 的启动状态
如图所示:在一下服务中找到mysqld的服务,如果状态为off,说明mysql服务没有启动
4、使用命令chkconfig –list | grep on 命令来查看mysql 的启动状态
如图所示:如果mysql服务已经启动那么这里就会有这个服务
5、使用命令ps aux | grep mysqld 命令来查看mysql 的启动状态
如图所示:下图对比是启动与不启动的状态
6、使用命令 pidof mysqld 命令来查看mysql 的启动状态
如图所示:如果显示PID说明程序启动,不显示PID即为程序没有启动。
免费资源网 – https://freexyz.cn/
© 版权声明
THE END
暂无评论内容