[BNM] noob question: mysql data directory

Jay Caines-Gooby jay at gooby.org
Mon Dec 1 14:51:27 GMT 2008


On Mon, Dec 1, 2008 at 2:47 PM, David Andrew <david.andrew at gmail.com> wrote:
> Hi list
>
> I want to view the contents of my mysql data dir, so I type:
>
> david-andrews-computer:/usr/local/mysql test$ sudo cd data
>
> which returns:
>
> david-andrews-computer:/usr/local/mysql test$
>
> I have stopped the mysql server. Why can't I get into my data dir?

Because you'd be in a directory you don't have permissions to be in,
after the sudo cd exits.

from the '/usr/local/mysql test' folder, running

sudo ls -l data

will show you what's in there

-- 
Jay Caines-Gooby
jay at gooby.org
+44 (0)7956 182625
skype: jaygooby
gtalk: jaygooby at gmail.com
AIM: jaygooby


More information about the BNMlist mailing list. Powered by Wessex Networks