无法运行MySQL服务器

时间:2018-03-10 20:15:15

标签: mysql xampp

我在MACOS上使用XAMPP

这是我的日志文件

2018-03-11  0:07:24 140735825187776 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier
2018-03-11  0:07:24 140735825187776 [Note] InnoDB: Compressed tables use zlib 1.2.8
2018-03-11  0:07:24 140735825187776 [Note] InnoDB: Using generic crc32 instructions
2018-03-11  0:07:24 140735825187776 [ERROR] mysqld: Can't create/write to file '/var/folders/6h/0k9bd25j1kl4v_381tm0vykh0000gn/T/ibfDLofU' (Errcode: 13 "Permission denied")
2018-03-11 00:07:24 7fff9cde13c0  InnoDB: Error: unable to create temporary file; errno: 13
2018-03-11  0:07:24 140735825187776 [ERROR] Plugin 'InnoDB' init function returned error.
2018-03-11  0:07:24 140735825187776 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2018-03-11  0:07:24 140735825187776 [Note] Plugin 'FEEDBACK' is disabled.
2018-03-11  0:07:24 140735825187776 [ERROR] Unknown/unsupported storage engine: InnoDB
2018-03-11  0:07:24 140735825187776 [ERROR] Aborting

2018-03-11 00:07:24 4813 mysqld_safe mysqld from pid file /Applications/XAMPP/xamppfiles/var/mysql/Hovhanness-iMac.local.pid ended

谢谢!

1 个答案:

答案 0 :(得分:0)

您的日志已自动解释:

首先尝试解决权限:

[ERROR] Unknown/unsupported storage engine: InnoDB

为此(和其他像这样使用谷歌) 即。

Array(5)

使用谷歌我看到了这个: {{3}}

检查下一个 ...

等等