启动mysql失败(mariadb)

stszievb  于 2021-06-23  发布在  Mysql
关注(0)|答案(0)|浏览(251)

我的服务器空间已满,我删除了一些临时文件和日志文件,包括清除/var/lib/mysql/ib\u logfile0和/var/lib/mysql/ib\u 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文件中有logs:

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

我怎样才能解决这个问题?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题