From owner-freebsd-questions@FreeBSD.ORG Wed Aug 2 21:02:36 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44E4B16A4DE for ; Wed, 2 Aug 2006 21:02:36 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3893943D7D for ; Wed, 2 Aug 2006 21:02:24 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: by ug-out-1314.google.com with SMTP id m2so2149859uge for ; Wed, 02 Aug 2006 14:02:24 -0700 (PDT) Received: by 10.65.237.1 with SMTP id o1mr440244qbr; Wed, 02 Aug 2006 14:02:24 -0700 (PDT) Received: from seibercom.net ( [67.189.184.224]) by mx.gmail.com with ESMTP id f16sm1581571qba.2006.08.02.14.02.24; Wed, 02 Aug 2006 14:02:24 -0700 (PDT) Received: from [192.168.0.4] (boss [192.168.0.4]) (Authenticated sender: gerard@seibercom.net) by seibercom.net (Postfix) with ESMTP id 04D1DC242; Wed, 2 Aug 2006 17:02:22 -0400 (EDT) Date: Wed, 02 Aug 2006 17:02:23 -0400 From: Gerard Seibert To: freebsd-questions@freebsd.org Organization: Seibercom In-Reply-To: <20060802202249.4E2EB758FD@mxo3.broadbandsupport.net> References: <20060802202249.4E2EB758FD@mxo3.broadbandsupport.net> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20060802165119.AEEA.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.25 [en] Cc: Ron Clark Subject: Re: Mysql from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2006 21:02:36 -0000 Ron Clark wrote: > Good day all, > > I am building a new server and need Mysql. I have tried to install > 4.1 server and 5.0 server. Both error out during the build. I try to > restart the install and it installs, but then will not start because > /var/log/mysql directory does not exist. I create the directory and > try to restart, to no avail. > > Is there a version of Mysql that can be installed with out errors? > Are there steps that am missing to make this run? I have installed > Mysql from ports before with no errors, so this is new. > > Thanks in advance, I have MySQL-5 installed. It worked without incident. Might I suggest the following. If you have portsclean installed, part of the portupgrade package, please read the manual for it and run it. "portsclean -CLP" should do the trick. Then update your ports tree. I would recommend 'portsnap' but that decision is up to you. Then navigate to databases/mysql51-server I would recommend that you delete that directory you created manually. It probably has the wrong permissions, etc. and will cause a build problem. Do the regular "make install && make clean" and you should be good to go. Place: mysql_enable="YES" in the /etc/rc.conf file and then either reboot or run the rc.d file: /usr/local/etc/rc.d/mysql-server start and it will create the directories it requires. You still have to create a use though. Ciao! -- Gerard