public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] mysql DB file
@ 2006-02-21 20:52 Nick Smith
  2006-02-21 21:01 ` Sarpy Sam
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Nick Smith @ 2006-02-21 20:52 UTC (permalink / raw
  To: gentoo-user

where is the actual mysql DB file stored? what it the name as well?
found info on the net that pointed to either /usr/local/mysql/data or
/usr/local/var neither of which contain a mysql dir, the latter doesnt
even exsist on gentoo.

TIA

nick

--
Linux, because I'd rather own a free OS than steal one that's not
worth paying for.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] mysql DB file
  2006-02-21 20:52 [gentoo-user] mysql DB file Nick Smith
@ 2006-02-21 21:01 ` Sarpy Sam
  2006-02-21 21:05 ` Daniel da Veiga
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Sarpy Sam @ 2006-02-21 21:01 UTC (permalink / raw
  To: gentoo-user

On 2/21/06, Nick Smith <nick.smith79@gmail.com> wrote:
> where is the actual mysql DB file stored? what it the name as well?
> found info on the net that pointed to either /usr/local/mysql/data or
> /usr/local/var neither of which contain a mysql dir, the latter doesnt
> even exsist on gentoo.
>

/var/lib/mysql

Kirby

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] mysql DB file
  2006-02-21 20:52 [gentoo-user] mysql DB file Nick Smith
  2006-02-21 21:01 ` Sarpy Sam
@ 2006-02-21 21:05 ` Daniel da Veiga
  2006-02-21 21:06   ` Daniel da Veiga
  2006-02-21 21:06 ` John Jolet
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 7+ messages in thread
From: Daniel da Veiga @ 2006-02-21 21:05 UTC (permalink / raw
  To: gentoo-user

On 2/21/06, Nick Smith <nick.smith79@gmail.com> wrote:
> where is the actual mysql DB file stored? what it the name as well?
> found info on the net that pointed to either /usr/local/mysql/data or
> /usr/local/var neither of which contain a mysql dir, the latter doesnt
> even exsist on gentoo.

The default behavior is /usr/lib/mysql... And that is distro independent.

>
> TIA
>
> nick
>
> --
> Linux, because I'd rather own a free OS than steal one that's not
> worth paying for.
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] mysql DB file
  2006-02-21 20:52 [gentoo-user] mysql DB file Nick Smith
  2006-02-21 21:01 ` Sarpy Sam
  2006-02-21 21:05 ` Daniel da Veiga
@ 2006-02-21 21:06 ` John Jolet
  2006-02-21 21:07 ` kashani
  2006-02-21 21:09 ` Martins Steinbergs
  4 siblings, 0 replies; 7+ messages in thread
From: John Jolet @ 2006-02-21 21:06 UTC (permalink / raw
  To: gentoo-user




On 2/21/06 2:52 PM, "Nick Smith" <nick.smith79@gmail.com> wrote:

> where is the actual mysql DB file stored? what it the name as well?
> found info on the net that pointed to either /usr/local/mysql/data or
> /usr/local/var neither of which contain a mysql dir, the latter doesnt
> even exsist on gentoo.
It should say in /etc/my.cnf where the data dir is.
> 
> TIA
> 
> nick
> 
> --
> Linux, because I'd rather own a free OS than steal one that's not
> worth paying for.


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] mysql DB file
  2006-02-21 21:05 ` Daniel da Veiga
@ 2006-02-21 21:06   ` Daniel da Veiga
  0 siblings, 0 replies; 7+ messages in thread
From: Daniel da Veiga @ 2006-02-21 21:06 UTC (permalink / raw
  To: gentoo-user

On 2/21/06, Daniel da Veiga <danieldaveiga@gmail.com> wrote:
> On 2/21/06, Nick Smith <nick.smith79@gmail.com> wrote:
> > where is the actual mysql DB file stored? what it the name as well?
> > found info on the net that pointed to either /usr/local/mysql/data or
> > /usr/local/var neither of which contain a mysql dir, the latter doesnt
> > even exsist on gentoo.
>
> The default behavior is /usr/lib/mysql... And that is distro independent.

Silly me, sorry about that, it is in fact /var/lib/mysql...

>
> >
> > TIA
> >
> > nick
> >
> > --
> > Linux, because I'd rather own a free OS than steal one that's not
> > worth paying for.
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
>
>
> --
> Daniel da Veiga
> Computer Operator - RS - Brazil
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
> PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
> ------END GEEK CODE BLOCK------
>


--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] mysql DB file
  2006-02-21 20:52 [gentoo-user] mysql DB file Nick Smith
                   ` (2 preceding siblings ...)
  2006-02-21 21:06 ` John Jolet
@ 2006-02-21 21:07 ` kashani
  2006-02-21 21:09 ` Martins Steinbergs
  4 siblings, 0 replies; 7+ messages in thread
From: kashani @ 2006-02-21 21:07 UTC (permalink / raw
  To: gentoo-user

Nick Smith wrote:
> where is the actual mysql DB file stored? what it the name as well?
> found info on the net that pointed to either /usr/local/mysql/data or
> /usr/local/var neither of which contain a mysql dir, the latter doesnt
> even exsist on gentoo.
> 

Gentoo default is /var/lib/mysql/ or you can try a locate <somedbname> 
assuming you have slocate installed. IIRC /var/lib/mysql is the Mysql 
default as well, but I can seem to find any reference to that or any 
other location.

kashani

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] mysql DB file
  2006-02-21 20:52 [gentoo-user] mysql DB file Nick Smith
                   ` (3 preceding siblings ...)
  2006-02-21 21:07 ` kashani
@ 2006-02-21 21:09 ` Martins Steinbergs
  4 siblings, 0 replies; 7+ messages in thread
From: Martins Steinbergs @ 2006-02-21 21:09 UTC (permalink / raw
  To: gentoo-user

On Tuesday 21 February 2006 22:52, Nick Smith wrote:
> where is the actual mysql DB file stored? what it the name as well?
> found info on the net that pointed to either /usr/local/mysql/data or
> /usr/local/var neither of which contain a mysql dir, the latter doesnt
> even exsist on gentoo.
>
> TIA
>
> nick
>
> --
> Linux, because I'd rather own a free OS than steal one that's not
> worth paying for.

cat /etc/mysql-500/my.cnf | grep datadir
datadir                                         = /var/lib/mysql-500


m
-- 
Linux 2.6.15-ck3-r1 AMD Athlon(tm) 64 Processor 3200+
 23:07:22 up 1 day, 17 min,  6 users,  load average: 2.09, 1.92, 1.77
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-02-21 21:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-21 20:52 [gentoo-user] mysql DB file Nick Smith
2006-02-21 21:01 ` Sarpy Sam
2006-02-21 21:05 ` Daniel da Veiga
2006-02-21 21:06   ` Daniel da Veiga
2006-02-21 21:06 ` John Jolet
2006-02-21 21:07 ` kashani
2006-02-21 21:09 ` Martins Steinbergs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox