Re: move database data folder
> 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.
Subject
Views
Written By
Posted
3842
June 25, 2013 01:39PM
1442
June 25, 2013 03:38PM
4987
June 26, 2013 09:55AM
2262
June 26, 2013 10:04AM
2296
June 26, 2013 10:58AM
1740
June 26, 2013 01:34PM
2164
July 01, 2013 06:26PM
1656
July 01, 2013 06:56PM
2376
July 08, 2013 02:56PM
2026
July 10, 2013 12:04PM
Re: move database data folder
1900
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.