懒之圣帝
好像虽然现在

wakawaka 发表于 2013-7-28 20:50

systemctl enable mysql.service和systemctl start mysql.service试试,好像虽然现在mysql换成mariadb, ...

[root@localhost otakuchiyan]# systemctl enable mysql.service

Failed to issue method call: No such file or directory

[root@localhost otakuchiyan]# systemctl start mysql.service

Failed to issue method call: Unit mysql.service failed to load: No such file or directory. See system logs and 'systemctl status mysql.service' for details.

[root@localhost otakuchiyan]# systemctl enable mariadb.service

Failed to issue method call: No such file or directory

[root@localhost otakuchiyan]# systemctl start mariadb.service

Failed to issue method call: Unit mariadb.service failed to load: No such file or directory. See system logs and 'systemctl status mariadb.service' for details.

[root@localhost otakuchiyan]#

全失败。

也许没有加入开机启动。

直接mysql会报错喵。