MySQL Forums
Forum List  »  General

Re: Create table failed if assign data directory in linux
Posted by: wolf wolf
Date: October 23, 2013 12:15AM

It seems the mysql user had no right to access the directory /home/mysqldata.
The error logged:
2013-10-23 21:55:43 3220 [ERROR] InnoDB: File /home/mysqldata/test: 'mkdir' returned OS error 113.

But I the properties of this directory is:
[test@TestFedora home]$ ll
Total 12
drwxr-xr-x. 2 mysql mysql 4096 10月 23 19:38 mysql
drwxrwxrwx. 2 mysql mysql 4096 10月 22 18:31 mysqldata
drwx------. 23 test test 4096 10月 23 21:51 test

Options: ReplyQuote


Subject
Written By
Posted
Re: Create table failed if assign data directory in linux
October 23, 2013 12:15AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.