wakawaka 发表于 2013-7-28 20:50systemctl 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会报错喵。
[查看全文]
jingyixx 发表于 2013-7-27 21:39https://kb.askmonty.org/en/iniciando-e-parando-mariadb-automaticamente/
事实上早就看过了。但是脚本也不知道放在哪里。
[查看全文]
