taroon-list@redhat.com
[Top] [All Lists]

Re: strange MySQL problem /var/lib/mysql/ become empty

Subject: Re: strange MySQL problem /var/lib/mysql/ become empty
From: Leuy Eeelyu
Date: Wed, 9 Mar 2005 10:09:53 -0800 PST
FINALLY...  IT IS SOLVED!!!!  Thanks sooo much!!! :P

--- Tim Evans <tkevans@xxxxxxxxxxx> wrote:
> On Wed, 9 Mar 2005 09:28:39 -0800 (PST), Leuy Eeelyu
> wrote
> > Oh.. Roger.. u r right. I found it is actually a
> > Fedora machine. But I found my mysql.sock in
> > /tmp/mysql.sock location.  I tried to cp back to
> 
> As a general rule, when you install MySQL from
> source on a system, it installs
> in /usr/local and uses /tmp/mysql.sock for its
> socket.
> 
> If your RedHat system auto-starts the
> Red-Hat-installed MySQL, the socket is
> usually in /var/lib/mysql
> 
> What I believe you are seeing is that you have the
> later-installed MySQL
> executables (in /usr/local) in your search path
> before the RedHat ones (in
> /usr/bin).  Thus, if you execute
> /usr/local/mysql/bin/mysql (which is probably
> symlinked to /usr/local/bin/mysql), it will look for
> the socket in /tmp
> 
> --
> Tim Evans, TKEvans.com, Inc.    |    5 Chestnut
> Court
> tkevans@xxxxxxxxxxx             |    Owings Mills,
> MD 21117
> http://www.tkevans.com/         |    443-394-3864
> http://www.come-here.com/News/  |    
> 
> --
> Taroon-list mailing list
> Taroon-list@xxxxxxxxxx
> http://www.redhat.com/mailman/listinfo/taroon-list
> 


        
                
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/

--
Taroon-list mailing list
Taroon-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/taroon-list

<Prev in Thread] Current Thread [Next in Thread>