Hi,

MySQL install do not create socket.This socket it's created when MySQL
daemon it's started.
My suggestion :
1.check if you have already mysqld processes.
2.
    - Change the owner of directory which is created for mysql.sock from
"root" to "mysql"
    ...or
    - Change in /etc/my.cnf(in [mysqld] section) the name of directory where
you wish to mysqld create the socket.You must be sure that directory is
*mysql* owner.
3.Start mysqld under init.d directory (/etc/rc.d/init.d...from what i
remember.I don't have Slackware installed in this moment)


Regards,

Gelu

_____________________________________________________
G.NET SOFTWARE COMPANY

Permanent e-mail address : [EMAIL PROTECTED]
                                          [EMAIL PROTECTED]
----- Original Message -----
From: "Roger Young" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, August 25, 2002 1:44 PM
Subject: Re: Installation problem: mysql.sock missing (??)


>
>
>
> Thanks for your reply.
>
> >Do a locate mysql.sock it's there.
>
> For some reason on my machine the mysql install procedure
> does not create the socket. The locate utility (after updatedb)
> does not find mysql.sock and the socket directory /var/run/mysql
> is not established.
>
> I must be omitting some vital step but what is it?
> The mysql package is untarred in /usr/local
> The scripts/mysql_install_db is run. But the socket
> is missing...
>
> >Do a search on the newsgroup at
> >http://lists.mysql.com/cgi-ez/ezmlm-cgi/1#b
> >On mysql.sock
>
> Didn't have much luck with this either: "Sorry, but search returned no
results."
> I did go through the August messages but couldn't find anything relevant.
>
> What part of the install procedure sets up the socket?
> Would it be better to compile from the source rather than
> from the binary package?
>
> Thanks for any further help or comment.
>
> Roger Young
>
> ........................................................................
> Do a locate mysql.sock it's there. Do a search on the newsgroup at
> http://lists.mysql.com/cgi-ez/ezmlm-cgi/1#b
>
> On mysql.sock
>
> M;)
>
> On Sat, 2002-08-24 at 21:34, Roger Young wrote:
> >
> >
> > I'm trying to install the binary mysql-3.23.52 under Linux (Slackware
> > 8.2 distribution, kernel 2.4.18).
> >
> > I have followed the installation steps suggested in the INSTALL-BINARY
> > file.  However the daemon will not start, or rather it startd and
> > immediately exits, and there is this message in the error log
> >
> > 020825 11:03:14  mysqld started
> > 020825 11:03:14  Can't start server : Bind on unix socket: No such
> > file or directory
> > 020825 11:03:14  Do you already have another mysqld server running on
> > socket: /var/run/mysql/mysql.sock ?
> > 020825 11:03:14  Aborting
> >
> > In fact neither the socket nor the socket directory /var/run/mysql
> > have been created.
> >
> > I created the directory but still got the same error.
> > How do I properly install mysql?
> >
> > Thanks for your help,
> >
> > Roger Young
> >
> > ---------------------------------------------------------------------
> > 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
>
>


---------------------------------------------------------------------
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