问题描述:

今天开启mysql时不成功,查看错误日志如下:

2019-09-03 14:55:51 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-09-03 14:55:51 0 [Note] InnoDB: Uses event mutexes
2019-09-03 14:55:51 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-09-03 14:55:51 0 [Note] InnoDB: Number of pools: 1
2019-09-03 14:55:51 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-09-03 14:55:51 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-09-03 14:55:51 0 [Note] InnoDB: Completed initialization of buffer pool
2019-09-03 14:55:52 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-09-03 14:55:52 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-09-03 14:55:52 0 [Note] InnoDB: Setting file 'D:\xampp7\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-09-03 14:55:52 0 [Note] InnoDB: File 'D:\xampp7\mysql\data\ibtmp1' size is now 12 MB.
2019-09-03 14:55:52 0 [Note] InnoDB: Waiting for purge to start
2019-09-03 14:55:52 0 [Note] InnoDB: 10.3.16 started; log sequence number 2527931; transaction id 1201
2019-09-03 14:55:52 0 [Note] InnoDB: Loading buffer pool(s) from D:\xampp7\mysql\data\ib_buffer_pool
2019-09-03 14:55:52 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-09-03 14:55:52 0 [Note] Server socket created on IP: '::'.

解决方法:

删除DATA目录下除数据库文件夹外的其他文件,重启mysql,问题解决。