在Fedora 27/28上启动MariaDb / MySQL的问题

时间:2018-09-03 11:13:33

标签: mysql mariadb fedora

我正在尝试仅在fedora 28上安装mysql / mariadb,但安装后并没有启动服务器。

当我键入 systemctl时,启动mariadb.service 收到此消息:

mariadb.service的

作业失败,因为控制进程退出并显示错误代码。 有关详细信息,请参见“ systemctl status mariadb.service”和“ journalctl -xe”。

分析日志中看到以下错误消息:

*2018-09-03  8:01:20 0 [Note] Recovering after a crash using tc.log
set 03 08:01:20 localhost.localdomain 
mysqld[4944]: 2018-09-03  8:01:20 0 [ERROR] Recovery failed! You must enable all engines that were enabled at t>
set 03 08:01:20 localhost.localdomain 
mysqld[4944]: 2018-09-03  8:01:20 0 [ERROR] Crash recovery failed. Either correct the problem (if it's, for exa>
set 03 08:01:20 localhost.localdomain 
mysqld[4944]: 2018-09-03  8:01:20 0 [ERROR] Can't init tc log
set 03 08:01:20 localhost.localdomain 
mysqld[4944]: 2018-09-03  8:01:20 0 [ERROR] Aborting*

有没有灯光解决这个黑暗的问题?

1 个答案:

答案 0 :(得分:0)

它可能为零字节,出现在library(ggplot2) chart <- ggplot( data = cars, aes( x = speed, y = dist ) ) + geom_point() + labs( title = "Here is a very long title that will need a\nlinebreak here", subtitle = "This subtitle will also have\na linebreak" ) + theme( plot.title = element_text( hjust = -0.1 ) ) chart ggsave( filename = "~/Desktop/myplot.png", plot = chart, # type = "cairo", height = 4, width = 6, dpi = 150) 上。删除或重新启动该程序应该可以。

tc.log

参考:

  1. https://fransdejonge.com/2018/02/mariadb-fix-cant-init-tc-log-error/
  2. https://bbs.archlinux.org/viewtopic.php?id=206379