Permissions XAMPP:[错误]InnoDB:InnoDB#u系统数据文件';ibdata1';必须是可写的

Permissions XAMPP:[错误]InnoDB:InnoDB#u系统数据文件';ibdata1';必须是可写的,permissions,xampp,innodb,writable,Permissions,Xampp,Innodb,Writable,我想制作自己的wiki供个人使用,并在外部驱动器上运行。我正在使用Windows10 昨天我将XAMPP portable安装到了外置硬盘上,并设置了MediaWiki,一切都很好。我在没有关闭apache和mysql的情况下关闭了计算机,今天早上醒来继续工作,但mysql无法启动。我还没有备份,因为我最近刚在昨天晚上完成了备份,所以我不会因为失去我写的几篇文章而感到太难过 InnoDB: using atomic writes. 2020-04-10 15:05:25 0 [Note] Inn

我想制作自己的wiki供个人使用,并在外部驱动器上运行。我正在使用Windows10

昨天我将XAMPP portable安装到了外置硬盘上,并设置了MediaWiki,一切都很好。我在没有关闭apache和mysql的情况下关闭了计算机,今天早上醒来继续工作,但mysql无法启动。我还没有备份,因为我最近刚在昨天晚上完成了备份,所以我不会因为失去我写的几篇文章而感到太难过

InnoDB: using atomic writes.
2020-04-10 15:05:25 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-04-10 15:05:25 0 [Note] InnoDB: Uses event mutexes
2020-04-10 15:05:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-04-10 15:05:25 0 [Note] InnoDB: Number of pools: 1
2020-04-10 15:05:25 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-04-10 15:05:25 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-04-10 15:05:25 0 [Note] InnoDB: Completed initialization of buffer pool
2020-04-10 15:05:25 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=300288
2020-04-10 15:05:25 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-04-10 15:05:25 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2020-04-10 15:05:25 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-04-10 15:05:25 0 [Note] InnoDB: Setting file 'D:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-04-10 15:05:25 0 [Note] InnoDB: File 'D:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-04-10 15:05:25 0 [Note] InnoDB: Waiting for purge to start
2020-04-10 15:05:25 0 [Note] InnoDB: 10.4.11 started; log sequence number 300297; transaction id 171
2020-04-10 15:05:25 0 [Note] InnoDB: Loading buffer pool(s) from D:\xampp\mysql\data\ib_buffer_pool
2020-04-10 15:05:25 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-04-10 15:05:25 0 [Note] Server socket created on IP: '::'.
2020-04-10 15:12:20 0 [Note] mysqld: Aria engine: starting recovery
recovered pages: 0% 26% 38% 54% 64% 74% 84% 94% 100% (0.0 seconds); tables to flush: 2 1 0
 (0.1 seconds); 
2020-04-10 15:12:20 0 [Note] mysqld: Aria engine: recovery done
InnoDB: using atomic writes.
2020-04-10 15:12:20 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2020-04-10 15:12:20 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2020-04-10 15:12:20 0 [ERROR] Plugin 'InnoDB' init function returned error.
2020-04-10 15:12:20 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2020-04-10 15:12:20 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-04-10 15:12:20 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2020-04-10 15:12:20 0 [ERROR] Aborting
我试着查看ibdata1,作为管理员,我应该完全控制它,所以我不确定为什么会出现这个错误


关于如何修复此问题,我有什么选择?

我在尝试将密码重置为MySQL时遇到了类似的问题。我正在使用Windows电脑。我进入管理工具->服务,然后停止MySQL任务。然后我没有收到错误消息:“'ibdata1'必须是可写的”

我在尝试将密码重置为MySQL时遇到了类似的问题。我正在使用Windows电脑。我进入管理工具->服务,然后停止MySQL任务。然后我没有收到错误消息:“ibdata1必须是可写的”