MySQL Forums
Forum List  »  InnoDB

Re: move database data folder
Posted by: Rick James
Date: July 10, 2013 10:35PM

> It was able to restart the service after moving the data folder - the problem was the permission, owner and group of the ".." file
> pete@flashDB:~$ sudo ls -la /var/lib/mysql/
> drwxrw-rw- 6 mysql mysql 4096 Jul 10 09:35 .
> drwxr-xr-x 64 root root 4096 Jul 9 13:41 ..

Given that you are looking at the directory /var/lib/mysql/,
. refers to /var/lib/mysql/
.. refers to /var/lib/
(It is the parent directory, not a 'file'.)

drwxr-xr-x -- This allows anyone to 'read' and 'search' this directory. And that is all that is needed for /var/lib/. So, I suspect you fixed something else.

Options: ReplyQuote


Subject
Views
Written By
Posted
3657
June 25, 2013 01:39PM
1332
June 25, 2013 03:38PM
4882
June 26, 2013 09:55AM
2162
June 26, 2013 10:04AM
2192
June 26, 2013 10:58AM
1645
June 26, 2013 01:34PM
2076
July 01, 2013 06:26PM
1566
July 01, 2013 06:56PM
2242
July 08, 2013 02:56PM
1936
July 10, 2013 12:04PM
Re: move database data folder
1761
July 10, 2013 10:35PM


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.