【发布时间】:2012-10-17 06:59:15
【问题描述】:
我正在使用 XAMPP,我正在尝试通过 http://localhost/phpmyadmin 访问 phpMyAdmin,但我收到了以下错误消息:
Error
SQL query:
SHOW PLUGINS
MySQL said:
#1 - Can't create/write to file '/var/folders/_y/gtpc137d1q9gkvsj0dsxjd040000gn/T/#sql9f2_8_0.MYI' (Errcode: 13)
我已经有一段时间没有尝试访问它了,所以我不知道自上次以来发生了什么变化。任何人都可以为我阐明这一点吗?我在 Google 上搜索过,似乎无法理解大多数人在相关问题上都在谈论什么。
另外,我的 XAMPP 也不再连接到 Apache(它只是不断给我加载图像)。
这是我得到的错误:
121201 22:59:27 mysqld_safe Starting mysqld daemon with databases from /Applications/XAMPP/xamppfiles/var/mysql
Warning: World-writable config file '/Applications/XAMPP/xamppfiles/etc/my.cnf' is ignored
121201 22:59:28 [Warning] Setting lower_case_table_names=2 because file system for /Applications/XAMPP/xamppfiles/var/mysql/ is case insensitive
121201 22:59:28 [Note] Plugin 'FEDERATED' is disabled. /Applications/XAMPP/xamppfiles/sbin/mysqld: Can't create/write to file '/var/folders/_y/gtpc137d1q9gkvsj0dsxjd040000gn/T/ibCVKOvf' (Errcode: 13)
121201 22:59:28 InnoDB: Error: unable to create temporary file; errno: 13
121201 22:59:28 [ERROR] Plugin 'InnoDB' init function returned error.
121201 22:59:28 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
121201 22:59:29 [Note] Event Scheduler: Loaded 0 events
121201 22:59:29 [Note] /Applications/XAMPP/xamppfiles/sbin/mysqld: ready for connections.
Version: '5.1.44' socket: '/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock' port: 3306 Source distribution
【问题讨论】:
-
你的问题已经解决了吗?
-
我从来没有这样做过。我一直在通过连接到数据库的 Internet 连接进行编辑。
-
如果你还想尝试:告诉我们启动过程中“XAMPP/xamppfiles/var/mysql/localhost.err”下的日志说明了什么。
-
好的,我还是想弄清楚。如何获取 .err 的日志?抱歉,我对此有点陌生!
-
在目录“/Applications/XAMPP/xamppfiles/var/mysql/”中是一个扩展名为“.err”的文件。重新启动 MySQL 后打开它并复制并粘贴那里记录的消息。
标签: mysql macos phpmyadmin xampp