heii 发表于 2016-5-13 23:58:21

1.3测试版更换mysql目录后报错,日志如下:

160513 23:50:23 mysqld_safe Starting mysqld daemon with databases from /data/mysql
160513 23:50:23 /usr/local/mysql/bin/mysqld (mysqld 5.5.48-log) starting as process 11971 ...
160513 23:50:23 Plugin 'FEDERATED' is disabled.
160513 23:50:23 InnoDB: The InnoDB memory heap is disabled
160513 23:50:23 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160513 23:50:23 InnoDB: Compressed tables use zlib 1.2.3
^G/usr/local/mysql/bin/mysqld: Can't create/write to file '/tmp/ibCTSB9K' (Errcode: 13)
160513 23:50:23InnoDB: Error: unable to create temporary file; errno: 13
160513 23:50:23 Plugin 'InnoDB' init function returned error.
160513 23:50:23 Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
160513 23:50:23 Unknown/unsupported storage engine: InnoDB
160513 23:50:23 Aborting



160513 23:50:23 /usr/local/mysql/bin/mysqld: Shutdown complete



160513 23:50:23 mysqld_safe mysqld from pid file /data/mysql/iZ2393nql3tZ.pid ended

licess 发表于 2016-5-14 20:54:32

检查一下 /tmp 和你修改后/data/mysql的权限看看
页: [1]
查看完整版本: 1.3测试版更换mysql目录后报错,日志如下: