Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/68.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
MYSQL启动几秒钟后崩溃_Mysql_Xampp - Fatal编程技术网

MYSQL启动几秒钟后崩溃

MYSQL启动几秒钟后崩溃,mysql,xampp,Mysql,Xampp,我的xampp附带的mysql一年来一直运行良好,但几秒钟后突然崩溃 这是日志 2018-09-13 12:30:34 48 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's i

我的xampp附带的mysql一年来一直运行良好,但几秒钟后突然崩溃

这是日志

2018-09-13 12:30:34 48 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2018-09-13 12:30:34 72 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.

2018-09-13 12:30:34 72 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-09-13 12:30:34 72 [Note] InnoDB: The InnoDB memory heap is disabled
2018-09-13 12:30:34 72 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2018-09-13 12:30:34 72 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2018-09-13 12:30:34 72 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-09-13 12:30:34 72 [Note] InnoDB: Using generic crc32 instructions
2018-09-13 12:30:34 72 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2018-09-13 12:30:34 72 [Note] InnoDB: Completed initialization of buffer pool
2018-09-13 12:30:35 72 [Note] InnoDB: Highest supported file format is Barracuda.
2018-09-13 12:30:35 72 [Note] InnoDB: The log sequence number 1835037 in ibdata file do not match the log sequence number 5523302532 in the ib_logfiles!
2018-09-13 12:30:36 72 [Note] InnoDB: Restoring possible half-written data pages from the doublewrite buffer...
2018-09-13 12:30:36 72 [Note] InnoDB: 128 rollback segment(s) are active.
2018-09-13 12:30:36 72 [Note] InnoDB: Waiting for purge to start
2018-09-13 12:30:36 72 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.36-82.2 started; log sequence number 5523302532
2018-09-13 12:30:36 2928 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-09-13 12:30:36 72 [Note] Plugin 'FEEDBACK' is disabled.
2018-09-13 12:30:36 72 [Note] Server socket created on IP: '::'.
2018-09-13 12:30:36 72 [ERROR] Fatal error: mysql.user table is damaged or in unsupported 3.20 format.

错误显示:致命错误:
mysql.user表已损坏或采用不支持的3.20格式。

警告和注释并不是破坏服务的因素。要尝试修复此问题,您可以尝试使用

这可能会告诉您,如错误所示,用户表已损坏,然后运行:

mysqlcheck --repair --all-databases

在日志中,它是说增加缓冲池大小将大小更改为20 mb,并重新启动数据库。这可能是我如何在windows 10 xampp上运行它的副本?您应该在本地找到您的mysql目录(通常在xampp目录的某个地方找到)。内部应该有mysql、mysqlcheck和其他可执行文件,从命令行运行这些文件,如果需要,不要忘记向命令添加user/pass。
mysqlcheck --repair --all-databases