systemctl状态mariadb.service

时间:2019-01-30 22:18:59

标签: mysql mariadb

我知道供应商预设:禁用是可以的

我已经更换了mysql目录的文件夹
 即使是mysql.sock的chown也将其更改了三次

并且仍然出现相同的错误

因此,即使您是新手,任何帮助都会感激不尽

● mariadb.service - MariaDB 10.3 database server
        Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
       Drop-In: /usr/lib/systemd/system/mariadb.service.d
                └─tokudb.conf
        Active: failed (Result: exit-code) since Thu 2019-01-31 00:04:01 EET; 2min 39s ago
          Docs: man:mysqld(8)
                https://mariadb.com/kb/en/library/systemd/
       Process: 1121 ExecStartPre=/usr/libexec/mysql-prepare-db-dir mariadb.service (code=exited, status=1/FAILURE)
       Process: 1038 ExecStartPre=/usr/libexec/mysql-check-socket (code=exited, status=0/SUCCESS)


 Jan 31 00:03:55 localhost.localdomain systemd[1]: Starting MariaDB 10.3 database server...
 Jan 31 00:04:01 localhost.localdomain mysql-prepare-db-dir[1121]: The log file /var/log/mariadb/mariadb.log cannot be written, please, fix its permissions.
 Jan 31 00:04:01 localhost.localdomain mysql-prepare-db-dir[1121]: The daemon will be run under mysql:mysql
 Jan 31 00:04:01 localhost.localdomain systemd[1]: mariadb.service: Control process exited, code=exited status=1
 Jan 31 00:04:01 localhost.localdomain systemd[1]: mariadb.service: Failed with result 'exit-code'.
 Jan 31 00:04:01 localhost.localdomain systemd[1]: Failed to start MariaDB 10.3 database server.

因此,即使您是新手,任何帮助都会感激不尽。

0 个答案:

没有答案