无法启动Mysql(MariaDB)

时间:2018-05-29 21:28:49

标签: mysql mariadb

我的服务器空间已满,我删除了一些临时文件和日志文件,包括清除/ var / lib / mysql / ib_logfile0和/ var / lib / mysql / ib_logfile0。但是,当我尝试启动或重新启动mysql时,我收到此错误:

MariaDB server PID file could not be found!                [FAILED]
Starting MariaDB.180529 21:21:49 mysqld_safe Logging to '/home/vpssim.demo/logs/mysql.log'.
180529 21:21:49 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
.                                                          [FAILED]
Failed to restart server.                                  [FAILED]

/home/vpssim.demo/logs/mysql.log文件中有日志:

2018-05-29 20:35:05 140511035451520 [Warning] InnoDB: Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
2018-05-29 20:35:05 140511035451520 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-05-29 20:35:05 140511035451520 [Note] InnoDB: Uses event mutexes
2018-05-29 20:35:05 140511035451520 [Note] InnoDB: Compressed tables use zlib 1.2.7
2018-05-29 20:35:05 140511035451520 [Note] InnoDB: Using Linux native AIO
2018-05-29 20:35:05 140511035451520 [Note] InnoDB: Number of pools: 1
2018-05-29 20:35:05 140511035451520 [Note] InnoDB: Using SSE2 crc32 instructions
2018-05-29 20:35:05 140511035451520 [Note] InnoDB: Initializing buffer pool, total size = 48M, instances = 1, chunk size = 48M
2018-05-29 20:35:05 140511035451520 [Note] InnoDB: Completed initialization of buffer pool
2018-05-29 20:35:05 140510617163520 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2018-05-29 20:35:05 140511035451520 [ERROR] InnoDB: Log file ./ib_logfile0 size 1024 is too small
2018-05-29 20:35:05 140511035451520 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2018-05-29 20:35:05 140511035451520 [Note] InnoDB: Starting shutdown...
2018-05-29 20:35:06 140511035451520 [ERROR] Plugin 'InnoDB' init function returned error.
2018-05-29 20:35:06 140511035451520 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2018-05-29 20:35:06 140511035451520 [Note] Plugin 'FEEDBACK' is disabled.
2018-05-29 20:35:06 140511035451520 [ERROR] Unknown/unsupported storage engine: InnoDB
2018-05-29 20:35:06 140511035451520 [ERROR] Aborting

如何解决此问题?

0 个答案:

没有答案