安装xampp,启动mysql,出现以下报错
InnoDB: using atomic writes.
2022-06-23 9:18:29 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-06-23 9:18:29 0 [Note] InnoDB: Uses event mutexes
2022-06-23 9:18:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-06-23 9:18:29 0 [Note] InnoDB: Number of pools: 1
2022-06-23 9:18:29 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-06-23 9:18:29 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-06-23 9:18:29 0 [Note] InnoDB: Completed initialization of buffer pool
2022-06-23 9:18:29 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-06-23 9:18:29 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-06-23 9:18:29 0 [Note] InnoDB: Setting file 'D:\E\develop_software\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-06-23 9:18:29 0 [Note] InnoDB: File 'D:\E\develop_software\xampp\mysql\data\ibtmp1' size is now 12 MB.
2022-06-23 9:18:29 0 [Note] InnoDB: Waiting for purge to start
2022-06-23 9:18:29 0 [Note] InnoDB: 10.4.13 started; log sequence number 8254285; transaction id 17470
2022-06-23 9:18:29 0 [Note] InnoDB: Loading buffer pool(s) from D:\E\develop_software\xampp\mysql\data\ib_buffer_pool
2022-06-23 9:18:29 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-06-23 9:18:29 0 [Note] Server socket created on IP: '::'.
解决方法:
1、打开xampp的shell面板,输入mysqld –-console –-skip-grant-tables –-skip-external-locking
2、再打开一个shell面板,输入mysqlcheck -r --databases mysql --use-frm