Got error -1 from storage engine with non-existing DATA DIRECTORY = '/home/datadir'
Bug #1513406 reported by
Shahriyar Rzayev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
||||
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.6 |
Triaged
|
Medium
|
Unassigned | |||
5.7 |
Triaged
|
Medium
|
Unassigned |
Bug Description
Hi dear experts,
There is another cryptic error message while trying to create tablespace outside default data directory:
mysql> CREATE TABLE t2 (c1 INT PRIMARY KEY) DATA DIRECTORY = '/home/datadir';
ERROR 1030 (HY000): Got error -1 from storage engine
From error log:
2015-11-05 12:55:44 7f52c7b7e700 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
In fact there is no such directory:
sh@percona-
ls: cannot access /home/datadir: No such file or directory
tags: | added: upstream |
To post a comment you must log in.
Please report this bug to upstream, and add a link here.
In fact, if the bug is upstream, and there is no overriding reason to report it to PS separately (ie. accompanied by a fix request etc), there is no need to report it to PS at all.