[英]MySQL Error - InnoDB Doesn't Work And Server Instantly Shutdown
i'm trying to set up a MySQL server with XAMPP, it's not working and i'm getting this error: 我正在尝试使用XAMPP设置MySQL服务器,但无法正常工作,并且出现此错误:
2014-10-28 14:14:38 3768 [Note] Plugin 'FEDERATED' is disabled.
2014-10-28 14:14:38 588 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This
option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2014-10-28 14:14:38 3768 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-10-28 14:14:38 3768 [Note] InnoDB: The InnoDB memory heap is disabled
2014-10-28 14:14:38 3768 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-10-28 14:14:38 3768 [Note] InnoDB: Memory barrier is not used
2014-10-28 14:14:38 3768 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-10-28 14:14:38 3768 [Note] InnoDB: Not using CPU crc32 instructions
2014-10-28 14:14:38 3768 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2014-10-28 14:14:38 3768 [Note] InnoDB: Completed initialization of buffer pool
2014-10-28 14:14:38 3768 [ERROR] InnoDB: C:\xampp\mysql\data\ibdata1 can't be opened in read-write mode
2014-10-28 14:14:38 3768 [ERROR] InnoDB: The system tablespace must be writable!
2014-10-28 14:14:38 3768 [ERROR] Plugin 'InnoDB' init function returned error.
2014-10-28 14:14:38 3768 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2014-10-28 14:14:38 3768 [ERROR] Unknown/unsupported storage engine: InnoDB
2014-10-28 14:14:38 3768 [ERROR] Aborting
Extracted From mysql.log 从mysql.log中提取
I did try reinstalling, using AppleWS, and some fixes that i found here. 我确实尝试过使用AppleWS重新安装,以及在这里找到的一些修复程序。 None of them worked. 他们都没有工作。
These lines: 这些行:
2014-10-28 14:14:38 3768 [ERROR] InnoDB: C:\xampp\mysql\data\ibdata1 can't be opened in read-write mode
2014-10-28 14:14:38 3768 [ERROR] InnoDB: The system tablespace must be writable!
.. indicate a problem with permissions. ..表示权限有问题。
Check the permissions on C:\\xampp\\mysql\\data\\ibdata1 and ensure that whatever user you're running your server under has read/write access to that folder. 检查对C:\\ xampp \\ mysql \\ data \\ ibdata1的许可权,并确保正在运行服务器的任何用户都对该文件夹具有读/写访问权限。
I solved the problem following the following steps: 我按照以下步骤解决了问题:
C:\\xampp\\mysql\\data\\
to another directory. 我将所有文件和目录从C:\\xampp\\mysql\\data\\
移至另一个目录。 C:\\xampp\\mysql\\data\\
. 我将未生成的文件和目录移动到C:\\xampp\\mysql\\data\\
。 This method didn't make me lost my configuration and my databases 这种方法不会使我丢失配置和数据库
只需删除C:\\xampp\\mysql\\data\\
文件夹中的ibdata1
和iblog
文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.