How are you starting the MySQL server? (e.g. command)
What does you cnf file look like?

-----Original Message-----
From: Zion Inc. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 8:14 AM
To: Franz, Fa. PostDirekt MA
Cc: [EMAIL PROTECTED]
Subject: Re: AW: Socket Error


Here is what I got out of the log file:

030122 02:59:51  mysqld started
030122  2:59:51  Can't start server : Bind on unix
socket: Address already in use
030122  2:59:51  Do you already have another mysqld
server running on socket: /var/run/mysql/mysql.sock ?
030122  2:59:51  Aborting

But mysqld is not running, here is the output from
top:

ID USERNAME PRI NICE  SIZE   RES STATE WAIT     TIME  
 CPU COMMAND
11347 root      28    0  728K 1376K run   -       
0:01  0.00% sshd
19398 root       2    0  316K  904K idle  select  
0:00  0.00% sftp-server
 8678 root       2    0  356K  864K idle  select  
0:00  0.00% sshd
14804 www        2    0 1468K 2592K sleep select  
0:00  0.00% httpd
22335 www        2    0 2672K 3232K idle  netcon  
0:00  0.00% httpd
27374 www        2    0 2668K 3228K idle  netcon  
0:00  0.00% httpd
23309 www        2    0 2668K 3224K idle  netcon  
0:00  0.00% httpd
 6726 www        2    0 2668K 3216K idle  netcon  
0:00  0.00% httpd
19186 root       2    0  228K  456K sleep select  
0:00  0.00% cron
11450 www        2    0 2668K 3240K idle  netcon  
0:00  0.00% httpd
19456 root      18    0  344K  296K idle  pause   
0:00  0.00% csh
24644 root       2    0  100K  380K idle  select  
0:00  0.00% syslogd
15108 www        2    0 1468K 1172K idle  netcon  
0:00  0.00% httpd
14034 root      28    0  144K  716K run   -       
0:00  0.00% top
26192 ad         3    0  376K  288K idle  ttyin   
0:00  0.00% sh
    1 root      10    0  336K  200K idle  wait    
0:00  0.00% init
 7933 root      18    0  324K  240K idle  pause   
0:00  0.00% csh
26396 root       3    0   48K  420K idle  ttyin   
0:00  0.00% getty
17248 root       3    0   48K  420K idle  ttyin   
0:00  0.00% getty
26494 root       3    0   48K  420K idle  ttyin   
0:00  0.00% getty
 1790 root       3    0   48K  420K idle  ttyin   
0:00  0.00% getty
10937 root       2    0   64K  348K idle  select  
0:00  0.00% inetd
12757 www        2    0 1468K  584K idle  netcon  
0:00  0.00% httpd
--- "Franz, Fa. PostDirekt MA"
<[EMAIL PROTECTED]> wrote:
> Good Morning Anthony ,
> 
> your question was:
> 
> >ERROR 2002: Can't connect to local MySQL server
> >through socket '/var/run/mysql/mysql.sock' (38)
> 
> >I've been reading and searching  the documentation
> for
> >hours and I know this is simple to fix but I can't
> >figure it out. I've been at it for our hours. The
> >mysql directory above does not exist but if I
> create
> >it and make a file called mysql.sock that does not
> >work either. Could someone point me in the right
> >direction? Please....
> 
> Looks like your mysql-daemon doesn't run at all
> or/and isn't
> installed in the directory your client expected it.
> In order to help you there's some information
> needed:
> Which operating system do you use  ?
> How did you install (e.g. rpm) ?
> Which version of mysql did you try to install ?
> How did you start the server ? 
> 
> If you don't know the answers to some of that
> questions , 
> describe what you did.
> 
> prosit
>       Klaus


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to