List:General Discussion« Previous MessageNext Message »
From:FRed Date:August 7 1999 3:07pm
Subject:Re: /tmp/mysql.sock ???
View as plain text  
Hi Jani,


Of course before ask to the mailling list I looked at manual (do you have a 
french version of it ?) ... and the only thing I found was
"18.6 How to protect `/tmp/mysql.sock' from being deleted"
Great but /tmp is a very special directory where all is deleted every night 
by ... ROOT ... with a rm -rf /tmp/* !!!!
so I would like create the "/tmp/mysql.sock" in an another directory (I 
have changed the safe_mysqld) but when I did it this error occured :
   The error: Can't connect to local MySQL server through socket
  > '/tmp/mysql.sock' (2) at ../bin/mysql_setpermission line 65, <STDIN> 
chunk 1.

So my question should be :  could I create the mysql.sock in a directory 
like /usr/local/mysql/tmp instead of /tmp ?



At 13:28 07/08/99 +0300, you wrote:
>FRed writes:
>  > Hi,
>  >
>  > What is /tmp/mysql.sock ?
>  >
>  > I have sometimes this message :
>  > nice3:/usr/local/mysql/# ./bin/mysql_setpermission
>  > Password for user  to connect to MySQL:
>  > Can't make a connection to the mysql server.
>  >   The error: Can't connect to local MySQL server through socket
>  > '/tmp/mysql.sock' (2) at ../bin/mysql_setpermission line 65, <STDIN> 
> chunk 1.
>  >
>  > What I did wrong ?
>  >            Frédéric Fillon
>
>Hello Frédéric,
>
>It is a socket file, used by programs to connect to MySQL server.
>Please check http://www.mysql.com/Manual_chapter/manual_toc.html.
>
>Regards,
>
>- Jani
>
>--
>+-------------------------------------------------------------+
>| TcX  ____  __     _____   _____  ___                        |
>|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|       Jani Tolonen     |
>|    /*/ /*/ /*/   \*\_   |*|   |*||*|       jani@stripped   |
>|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|       Helsinki         |
>|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|_____  Finland          |
>|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                   |
>|             /*/             \*\            Developers Team  |
>+-------------------------------------------------------------+
>
>---------------------------------------------------------------------
>Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
>posting. To request this thread, e-mail mysql-thread9590@stripped
>
>To unsubscribe, send a message to the address shown in the
>List-Unsubscribe header of this message. If you cannot see it,
>e-mail mysql-unsubscribe@stripped instead.

           Frédéric Fillon
======================================
       http://www.webstore.fr

                 .~.
                 /V\
                // \\
               /(   )\
                ^`~'^
              Little Guru
======================================

          Conseils Techniques
http://www.webstore.fr/webstore/technique

          E-Mail Gratuits :
     http://www.mailstore.net

Thread
/tmp/mysql.sock ???FRed6 Aug
  • /tmp/mysql.sock ???Jani Tolonen7 Aug
    • Re: /tmp/mysql.sock ???FRed7 Aug
      • Re: /tmp/mysql.sock ???Jani Tolonen7 Aug
      • Re: /tmp/mysql.sock ???Michael Widenius8 Aug