请问 suse 查看服务的命令是不是变了 chkconfig --list mysql 没有??

如题目,suse 查看服务的命令是不是变了??我知道我的机器上一定有 mysql,但是:

linux-jgyt:~ # chkconfig -list mysql

Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.

If you want to list systemd services use ‘systemctl list-unit-files’.
To see services enabled on particular target use
’systemctl list-dependencies [target]’.

mysql: unknown service

或者 mysqld:

linux-jgyt:~ # chkconfig -list mysqld

Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.

If you want to list systemd services use ‘systemctl list-unit-files’.
To see services enabled on particular target use
’systemctl list-dependencies [target]’.

mysqld: unknown service

我怎么查看不到???mysql 服务呢?

但是

linux-jgyt:~ # service mysql status
mysql.service - MySQL server
Loaded: loaded (/usr/lib/systemd/system/mysql.service; disabled)
Active: inactive (dead)

这样又能看到……

我用 systemctl list-units --type=service 这个命令也查看不到 mysql 服务呢?

不是应该用 systemd 了么? 看一下有没有 mysql.service 或者 mysqld.service, 或者可能改名字叫 mariadb 了?

sudo systemctl enable mysql.service
然後重開機

補充
上面的指令 讓 mysql.service 開機即被啟動

如果還有問題
參閱
wiki.aoxoa.com/Upgrading_OpenSuSE_13.1_to_13.2#MySQL