List:General Discussion« Previous MessageNext Message »
From:龔惠樑(Borus.Kung) Date:May 23 2002 6:16am
Subject:Re: can't connect to server2
View as plain text  
you can try command "ps -ef | grep mysql"
to see if "safe_mysqld" is alive
and also one or more "mysqld" processes are running

to check the socket

type command "netstat -na | grep 3306" see if you can see
the processes are listening to the socket
if the socket if not being listen, you cannot connect to it

for errors, check the file  [mysql installation dir]/var/[server name].err


----- Original Message -----
寄件者: "Hoa Doan" <hoangocdoan@stripped>
收件者: <mysql@stripped>
傳送日期: 2002年5月23日 PM 01:49
主旨: can't connect to server2

> Okay so it says that I can't connect through socket
> '/var/lib/mysql/mysql.sock'.  So I checked and the UNIX socket is located
> here: /tmp/mysql.sock.  I'm relatively new to Linux.  What does this mean?
> -Hoa
> _________________________________________________________________
> Join the world>
> ---------------------------------------------------------------------
> Before posting, please check:
>   (the manual)
>           (the list archive)
> To request this thread, e-mail <mysql-thread109949@stripped>
> To unsubscribe, e-mail
> Trouble unsubscribing? Try:
can't connect to server2Hoa Doan23 May
  • Re: can't connect to server2龔惠樑(Borus.Kung)23 May
  • Re: can't connect to server2Egor Egorov23 May