database - MariaDB 服务经常停止

标签 database service crash mariadb

MariaDB 服务器随时关闭,但它不会

我重新安装了 Mariadb 服务器。我在 my.cnf 文件中做了一些更改。我多次重新启动所有服务器。

这是我停止时的日志:

190718 08:58:09 mysqld_safe Number of processes running now: 0
190718 08:58:47 mysqld_safe mysqld restarted
190718  9:01:58 [Note] /usr/libexec/mysqld (mysqld 5.5.60-MariaDB) starting as process 6969 ...
190718  9:02:01 InnoDB: The InnoDB memory heap is disabled
190718  9:02:01 InnoDB: Mutexes and rw_locks use GCC atomic builtins
190718  9:02:01 InnoDB: Compressed tables use zlib 1.2.7
190718  9:02:01 InnoDB: Using Linux native AIO
190718  9:02:02 InnoDB: Initializing buffer pool, size = 13.0M
190718  9:02:02 InnoDB: Completed initialization of buffer pool
190718  9:02:05 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
InnoDB: Restoring possible half-written data pages from the doublewrite buffer...
190718 09:03:15 mysqld_safe mysqld from pid file /var/run/mariadb/mariadb.pid ended

最佳答案

这是您正在使用的 MariaDB 的一个非常旧的版本 :) 最新版本已经是 10.4.x

我强烈建议升级到最新版本。

但如果由于某种原因无法升级,请分享 my.cnf/server.cnf 文件内容、您的操作系统版本、服务器上的可用 RAM 也会有所帮助。

干杯, 费萨尔。

关于database - MariaDB 服务经常停止,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57104452/

相关文章:

database - 在数据库列中存储分隔列表真的那么糟糕吗?

linux - Service 和 Systemctl 的区别

visual-studio - 由于与 MSVC14 和 AVX 的未对齐访问而导致 Eigen 崩溃

java - TableView 不存在

sql - 在数据库中清晰地表示电子商务产品和变体

android - 将 Twilio 的传入调用代码从 Activity 实现到服务类中,但每次都会出错

android - java.lang.SecurityException : Not allowed to start service Intent 错误

r - 使用 dplyr 和连接生成唯一 ID 和组 ID

iOS 需要帮助克服内存问题

ios - 创建一个大量图像的 iOS 应用程序 - 在线数据库? - Swift