如何解决这个问题?
这是我的日志文件:
2023-09-25 23:09:19 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 17680
2023-09-25 23:09:19 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2023-09-25 23:09:19 0 [Note] InnoDB: Uses event mutexes
2023-09-25 23:09:19 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
2023-09-25 23:09:19 0 [Note] InnoDB: Number of pools: 1
2023-09-25 23:09:19 0 [Note] InnoDB: Using SSE2 crc32 instructions
2023-09-25 23:09:19 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2023-09-25 23:09:19 0 [Note] InnoDB: Completed initialization of buffer pool
2023-09-25 23:09:19 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2023-09-25 23:09:19 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2023-09-25 23:09:19 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2023-09-25 23:09:19 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2023-09-25 23:09:19 0 [Note] InnoDB: Waiting for purge to start
2023-09-25 23:09:19 0 [Note] InnoDB: 10.4.28 started; log sequence number 716352; transaction id 701
2023-09-25 23:09:19 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2023-09-25 23:09:19 0 [Note] Plugin 'FEEDBACK' is disabled.
2023-09-25 23:09:19 0 [Note] Server socket created on IP: '::'.
我尝试过使用这个命令
netstat -ano|find "3306"
查看是否有其他程序正在使用该端口,但它不允许我在命令面板中输入它
我认为这个错误可能有两种可能性
1.我认为您可以检查Windows上某些应用程序使用的端口。
您可以更改端口:
第 1 步:转到您的 xampp 文件夹,
第2步:找到mysql.cnf或mysql.ini
步骤3:将端口3306更改为其他端口
第4步:然后重新启动。
如果还没有解决,您可以按照以下步骤操作;
步骤1:备份C:\xampp\mysql\data
步骤2:复制所有文件C:\xampp\mysql ackup
步骤 3:粘贴并替换 C:\xampp\mysql\data 中的现有文件,除了 ibdata1 文件。保留 ibdata1 将有助于防止表不存在错误。这个解决方案对我有用