赞
踩
- [root@iZ0jl7qrrrig03ubmi06kwZ ~]# sudo service mysqld stop
- Redirecting to /bin/systemctl stop mysqld.service
- [root@iZ0jl7qrrrig03ubmi06kwZ ~]# sudo service mysqld start
- Redirecting to /bin/systemctl start mysqld.service
- [root@iZ0jl7qrrrig03ubmi06kwZ ~]# sudo service mysqld status
- Redirecting to /bin/systemctl status mysqld.service
- ● mysqld.service - MySQL Server
- Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
- Active: active (running) since Sun 2022-01-30 22:11:59 CST; 12s ago
- Docs: man:mysqld(8)
- http://dev.mysql.com/doc/refman/en/using-systemd.html
- Process: 10504 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS)
- Main PID: 10528 (mysqld)
- Status: "Server is operational"
- CGroup: /system.slice/mysqld.service
- └─10528 /usr/sbin/mysqld
-
- Jan 30 22:11:58 iZ0jl7qrrrig03ubmi06kwZ systemd[1]: Starting MySQL Server...
- Jan 30 22:11:59 iZ0jl7qrrrig03ubmi06kwZ systemd[1]: Started MySQL Server.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。