mysql不能正常启动

启动xmapp时候发现mysql不能正常启动。报以下错误…

13:39:24  [mysql] 	Error: MySQL shutdown unexpectedly.
13:39:24  [mysql] 	This may be due to a blocked port, missing dependencies, 
13:39:24  [mysql] 	improper privileges, a crash, or a shutdown by another method.
13:39:24  [mysql] 	Press the Logs button to view error logs and check
13:39:24  [mysql] 	the Windows Event Viewer for more clues
13:39:24  [mysql] 	If you need more help, copy and post this
13:39:24  [mysql] 	entire log window on the forums

查看日志mysql_error.log

2019-10-24 13:42:57 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-10-24 13:42:57 0 [Note] InnoDB: Uses event mutexes
2019-10-24 13:42:57 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-10-24 13:42:57 0 [Note] InnoDB: Number of pools: 1
2019-10-24 13:42:57 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-10-24 13:42:57 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-10-24 13:42:57 0 [Note] InnoDB: Completed initialization of buffer pool
2019-10-24 13:42:57 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=2287722
2019-10-24 13:42:57 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-10-24 13:42:57 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-10-24 13:42:57 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-10-24 13:42:57 0 [Note] InnoDB: Setting file 'D:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-10-24 13:42:57 0 [Note] InnoDB: File 'D:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-10-24 13:42:57 0 [Note] InnoDB: Waiting for purge to start
2019-10-24 13:42:57 0 [Note] InnoDB: 10.3.15 started; log sequence number 2287731; transaction id 734
2019-10-24 13:42:57 0 [Note] InnoDB: Loading buffer pool(s) from D:\xampp\mysql\data\ib_buffer_pool
2019-10-24 13:42:57 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-10-24 13:42:57 0 [Note] Server socket created on IP: '::'.

日志中显示

‘D:\xampp\mysql\data\ibtmp1’ size to 12 MB. Physically writing the file full; Please wait …

ibtmp1 是数据库临时表空间存储文件,这个文件提示已经满了,无法写入了。问题找到了就容易解决了。我们有两种办法。1、删除文件;2、配置中增加

发表评论