Bug #73512 | No useful errormsg. when trying to set innodb table datadir to non-writable path | ||
---|---|---|---|
Submitted: | 8 Aug 2014 21:35 | Modified: | 11 Aug 2014 8:15 |
Reporter: | Hartmut Holzgraefe | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | mysql-5.6.20, 5.6.21 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[8 Aug 2014 21:35]
Hartmut Holzgraefe
[11 Aug 2014 8:15]
MySQL Verification Team
Hello Hartmut, Thank you for the bug report and test case. Verified as described. Thanks, Umesh
[11 Aug 2014 8:16]
MySQL Verification Team
// with 5.6.21 [ushastry@cluster-repo mysql-advanced-5.6.21]$ bin/mysql -u root -p test Enter password: Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 91 Server version: 5.6.21-enterprise-commercial-advanced MySQL Enterprise Server - Advanced Edition (Commercial) Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> create table t1(id int primary key) engine=myisam data directory = "/bin"; ERROR 1 (HY000): Can't create/write to file '/bin/t1.MYD' (Errcode: 13 - Permission denied) mysql> mysql> create table t1(id int primary key) engine=innodb data directory = "/bin"; ERROR 1030 (HY000): Got error -1 from storage engine mysql> show warnings; +-------+------+----------------------------------+ | Level | Code | Message | +-------+------+----------------------------------+ | Error | 1030 | Got error -1 from storage engine | +-------+------+----------------------------------+ 1 row in set (0.00 sec)