From owner-freebsd-questions Thu Feb 7 7:54:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from aurlov.ptt.ru (aurlov.ptt.ru [195.34.55.115]) by hub.freebsd.org (Postfix) with SMTP id 0776637B41F for ; Thu, 7 Feb 2002 07:54:54 -0800 (PST) Received: from ptt.ru (localhost [127.0.0.1]) by aurlov.ptt.ru (Postfix) with ESMTP id 0E34058D4; Thu, 7 Feb 2002 18:54:10 +0000 (GMT) Message-ID: <3C62CD51.3060706@ptt.ru> Date: Thu, 07 Feb 2002 18:54:09 +0000 From: "Aleksey I. Yurlov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.7+) Gecko/20020123 X-Accept-Language: ru, en-us MIME-Version: 1.0 To: ann kok Cc: questions@FreeBSD.ORG Subject: Re: file permssion and mysql References: <20020207154335.96873.qmail@web20110.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi. 1. It is socket permission. Unix-socket file. U can move it to other folder in mysql by key "--socket=path_to_socket" in mysql start shell script in your /usr/local/etc/rc.d, just insert it in your safe_mysqld command in it, if you use it. 2. Because, connection to mysql can be via network (tcp/ip f.e. like how to Apache or proftpd it happens) or localy via this unix-socket file. There is no size of because it is communication descriptor only... socket(2) manual page. ann kok wrote: >srwxrwxrwx 1 mysql mysql 0 Jan 30 >15:51 mysql.sock > >what is this file function and not any file size? >and is it security in the directory tmp? > >Thank you very much > >__________________________________________________ >Do You Yahoo!? >Send FREE Valentine eCards with Yahoo! Greetings! >http://greetings.yahoo.com > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > -- Aleksey I. Yurlov _| PTT-Teleport Moscow, hosting dept. webmaster@ptt.ru _|_| MTU-Intel, webhosting & colocation team To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message