From owner-freebsd-questions Fri Jun 21 9:41:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from infinity.aesredfish.net (ns1.aesredfish.net [65.168.0.12]) by hub.freebsd.org (Postfix) with ESMTP id 5B40737B405 for ; Fri, 21 Jun 2002 09:41:29 -0700 (PDT) Received: from potentialtech.com (mhope-dhcp-65-168-1-181.dashfast.com [65.168.1.181]) by infinity.aesredfish.net (8.11.6/8.11.0) with ESMTP id g5LGfKr04214; Fri, 21 Jun 2002 12:41:21 -0400 Message-ID: <3D135894.90003@potentialtech.com> Date: Fri, 21 Jun 2002 12:47:16 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc1) Gecko/20020502 X-Accept-Language: en-us, en MIME-Version: 1.0 To: O Senhor Cc: FreeBSD-questions Subject: Re: mysql References: <1024677020.32742.7.camel@ws-tor-004> 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 O Senhor wrote: > Hello, > My problem is with mysql and FreeBSD... I believe that are not off > topic. > When i mount the "/" partition read-only, i can't start the mysql > daemon. I have three partitions read-only: "/" /usr and /usr/local. But > the only one that cause problems is "/". Then, i guess that the program > is trying write some temporary file in /boot /root /modules /sbin /bin > "/" or another dir. This is terrible! Somebody knows about that problem? Last I checked, the MySQL port/package put its databases in /var/db/mysql. Is /var part of your / partition? What about /tmp? I believe MySQL needs to create a /tmp/mysql.sock file when it starts. Have you checked to see what errors MySQL reports when it fails to start? -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message