[BNM] noob question: mysql data directory
David Andrew
david.andrew at gmail.com
Wed Jan 21 20:50:17 GMT 2009
Your right
Thanks Stephen
2008/12/2 James Lawrie <stwange at gmail.com>:
> If you want to get into that directory you could do:
> $ sudo su
> # cd
>
> make sure you exit from root afterwards to avoid error :)
> Why didn't you thank Stephen for the ls answer?
>
> 2008/12/1 David Andrew <david.andrew at gmail.com>
>
>> JCG shines a guiding light once again!
>>
>> Thanks mister
>>
>>
>> 2008/12/1 Jay Caines-Gooby <jay at gooby.org>:
>> > 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
>> > --
>> >
>> > BNM Subscribe/Unsubscribe:
>> > http://www.brightonnewmedia.org/options/bnmlist
>> >
>> > BNM powered by Wessex Networks:
>> > http://www.wessexnetworks.com
>> >
>> --
>>
>> BNM Subscribe/Unsubscribe:
>> http://www.brightonnewmedia.org/options/bnmlist
>>
>> BNM powered by Wessex Networks:
>> http://www.wessexnetworks.com
>>
> --
>
> BNM Subscribe/Unsubscribe:
> http://www.brightonnewmedia.org/options/bnmlist
>
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
>
More information about the BNMlist
mailing list. Powered by Wessex Networks