systemctl start mariadb.service //然后發(fā)現下面的問題
job for mariadb.service failed because the control process exited with error ?code .
See "systemctl status mariadb.service" and "journalctl -xe" for details
第一種情況 : // 按照上面的 查看 一無所獲 ?但是看見了?"journalctl -xe"里面在啟動 mariadb的時候 有Logging ?to '/var/log/mariadb/mariadb.log' 然后就去查看了這個 log
找到最后下面在Aborting 上面有 一行 Character set 'utf8' is not a compiled
在/etc/mycnf.d 里面有一個 server.cnf ?在 [mysqld] 下面 添加
character-set-server=utf8 ?保存
然后 systemctl start mariadb.service