eva*_*168 3 mysql database wordpress innodb
因此,今晚似乎无处不在,我的wordpress网站崩溃了,我已将其追溯到mysql问题。Mysql不会在服务器上启动,因为它一直在失败。
这是我从日志中得到的信息:
140226 08:54:11 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
140226 08:58:20 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140226 8:58:20 [Note] Plugin 'FEDERATED' is disabled.
140226 8:58:20 InnoDB: The InnoDB memory heap is disabled
140226 8:58:20 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140226 8:58:20 InnoDB: Compressed tables use zlib 1.2.3
140226 8:58:20 InnoDB: Using Linux native AIO
/usr/libexec/mysqld: Can't create/write to file '/dev/shm/mysql/ibOqUOjF' (Errcode: 2)
140226 8:58:20 InnoDB: Error: unable to create temporary file; errno: 2
140226 8:58:20 [ERROR] Plugin 'InnoDB' init function returned error.
140226 8:58:20 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140226 8:58:20 [ERROR] Unknown/unsupported storage engine: InnoDB
140226 8:58:20 [ERROR] Aborting
Run Code Online (Sandbox Code Playgroud)
我已经尝试使用Google搜索,并在Stack Overflow上查看了此内容,但是除了删除ipdata1和日志文件外,我似乎找不到许多解决方案,正如我读到的那样,不应使用已存储的数据来完成此操作,因为这样会造成混乱在我的桌子上。
这是在NGINX CentOS 6服务器上。
有任何想法吗?感谢您的帮助!
另一个考虑因素可能是确保用于mysql的tmpdir具有足够的磁盘空间和所需的权限。
另外,对于Windows用户:请考虑front slash (/)对back slash (\)您的tmpdir路径使用as