MySQL report can ' t create/write to file '/tmp/ib0n3frl ' (Errcode:13-permission denied)

Source: Internet
Author: User

Initializing database error

[Email protected] mysql-5.6.24]#/usr/local/mysql/scripts/mysql_install_db--user=mysql--basedir=/usr/local/mysql --datadir=/usr/local/mysql/data

Installing MySQL system tables ... 2017-04-03 19:52:21 0 [Warning] TIMESTAMP with implicit the DEFAULT value is deprecated. --explicit_defaults_for_timestamp server option (see documentation for more details).

2017-04-03 19:52:21 0 [Note]/usr/local/mysql/bin/mysqld (mysqld 5.6.24) starting as Process 7918 ...

2017-04-03 19:52:21 7918 [Note] innodb:using Atomics to ref count buffer pool pages

2017-04-03 19:52:21 7918 [Note] innodb:the InnoDB memory heap is disabled

2017-04-03 19:52:21 7918 [Note] innodb:mutexes and rw_locks use GCC atomic builtins

2017-04-03 19:52:21 7918 [Note] innodb:memory barrier is not used

2017-04-03 19:52:21 7918 [Note] innodb:compressed tables use zlib 1.2.3

2017-04-03 19:52:21 7918 [Note] innodb:using CPU CRC32 Instructions

/usr/local/mysql/bin/mysqld:can ' t create/write to file '/tmp/ib0n3frl ' (Errcode:13-permission denied)

2017-04-03 19:52:21 7fce976e27e0 InnoDB:Error:unable to create temporary file; Errno:13

2017-04-03 19:52:21 7918 [ERROR] Plugin ' InnoDB ' init function returned ERROR.

2017-04-03 19:52:21 7918 [ERROR] Plugin ' InnoDB ' registration as a STORAGE ENGINE failed.

2017-04-03 19:52:21 7918 [ERROR] unknown/unsupported storage Engine:innodb

2017-04-03 19:52:21 7918 [ERROR] Aborting


2017-04-03 19:52:21 7918 [Note] Binlog End

2017-04-03 19:52:21 7918 [Note]/usr/local/mysql/bin/mysqld:shutdown complete


Report/TMP does not have permission

Workaround:

chmod 777/tmp

Then perform the initial


This article is from "YHT's operations Notes" blog, please make sure to keep this source http://yht1990.blog.51cto.com/9014030/1912718

MySQL report can ' t create/write to file '/tmp/ib0n3frl ' (Errcode:13-permission denied)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.