sách gpt4 ai đã đi

Không chạy được XAMPP - MySql

In lại 作者:行者123 更新时间:2023-12-02 11:23:12 25 4
mua khóa gpt4 Nike

当我尝试启动 XAMPP - MySql 时它不起作用。
我已经尝试修复它,但我找不到任何实际的解决方案,我希望你能找到它的问题所在。

有日志:

2019-06-26 9:08:35 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-06-26 9:08:35 0 [Note] InnoDB: Uses event mutexes
2019-06-26 9:08:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-06-26 9:08:35 0 [Note] InnoDB: Number of pools: 1
2019-06-26 9:08:35 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-06-26 9:08:35 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-06-26 9:08:35 0 [Note] InnoDB: Completed initialization of buffer pool
2019-06-26 9:08:35 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibdata1' size to 10 MB. Physically writing the file full; Please wait ...
2019-06-26 9:08:35 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibdata1' size is now 10 MB.
2019-06-26 9:08:35 0 [Note] InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile101 size to 5242880 bytes
2019-06-26 9:08:35 0 [Note] InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile1 size to 5242880 bytes
2019-06-26 9:08:36 0 [Note] InnoDB: Renaming log file C:\xampp\mysql\data\ib_logfile101 to C:\xampp\mysql\data\ib_logfile0
2019-06-26 9:08:36 0 [Note] InnoDB: New log files created, LSN=45786
2019-06-26 9:08:36 0 [Note] InnoDB: Doublewrite buffer not found: creating new
2019-06-26 9:08:36 0 [Note] InnoDB: Doublewrite buffer created
2019-06-26 9:08:36 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-06-26 9:08:36 0 [Note] InnoDB: Creating foreign key constraint system tables.
2019-06-26 9:08:36 0 [Note] InnoDB: Creating tablespace and datafile system tables.
2019-06-26 9:08:36 0 [Note] InnoDB: Creating sys_virtual system tables.
2019-06-26 9:08:36 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-06-26 9:08:36 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-06-26 9:08:36 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-06-26 9:08:36 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-06-26 9:08:36 0 [Note] InnoDB: Waiting for purge to start
2019-06-26 9:08:36 0 [Note] InnoDB: 10.3.16 started; log sequence number 0; transaction id 7
2019-06-26 9:08:36 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-06-26 9:08:36 0 [Note] Server socket created on IP: '::'.
2019-06-26 9:08:36 0 [ERROR] mysqld.exe: Table '.\mysql\user' is marked as crashed and should be repaired
2019-06-26 9:08:36 0 [ERROR] mysqld.exe: Index for table '.\mysql\user' is corrupt; try to repair it
2019-06-26 9:08:36 0 [ERROR] Couldn't repair table: mysql.user
2019-06-26 9:08:36 0 [ERROR] Fatal error: Can't open and lock privilege tables: Index for table 'user' is corrupt; try to repair it

1 Câu trả lời

这是因为 C:\xampp\mysql\data\mysql 中的一些文件被破坏了。

Giải pháp :

  • 备份 C:\xampp\mysql\data
  • 复制所有文件 C:\xampp\mysql\backup
  • 粘贴并替换现有文件:C:\xampp\mysql\data, 除了 ibdata1 文件的 .
    离开 ibdata1 将有助于防止表不存在错误。
  • 关于xampp - 无法运行 XAMPP - MySql,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56767200/

    25 4 0
    行者123
    Hồ sơ cá nhân

    Tôi là một lập trình viên xuất sắc, rất giỏi!

    Nhận phiếu giảm giá Didi Taxi miễn phí
    Mã giảm giá Didi Taxi
    Giấy chứng nhận ICP Bắc Kinh số 000000
    Hợp tác quảng cáo: 1813099741@qq.com 6ren.com