permissions - XAMPP:[错误] InnoDB:innodb_system 数据文件 'ibdata1' 必须是可写的

标签 permissions xampp innodb writable

我想制作自己的 wiki 以供个人使用,并将其放在外部驱动器上随身携带。我正在使用 Windows 10。

我昨天将 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 进程正在运行,请转到任务管理器将其禁用。

关于permissions - XAMPP:[错误] InnoDB:innodb_system 数据文件 'ibdata1' 必须是可写的,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61162764/

相关文章:

ssh - 如何确定是否由于您的组而可以使用SFTP写入文件?

Python子进程权限

apache - 如何在 Apache/XAMPP 中使用符号链接(symbolic link)?

MySQL InnoDB 整个数据库一次性压缩

MySQL第二个基于外键的自增字段

Mysql 触发器 #1064 错误

shell - hdfs 权限被拒绝

permissions - 以root身份拒绝可执行文件的权限

windows - xampp 中的 apache 无法打开 - 在它之前工作之后

php - CodeIgniter 表单提交重定向到本地主机