From owner-freebsd-questions@FreeBSD.ORG Fri Aug 17 15:21:57 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F9B516A41B for ; Fri, 17 Aug 2007 15:21:57 +0000 (UTC) (envelope-from mnslinky@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id CE94913C46C for ; Fri, 17 Aug 2007 15:21:56 +0000 (UTC) (envelope-from mnslinky@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so961866pyb for ; Fri, 17 Aug 2007 08:21:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=EBH+4pQI3de4If+qb8wvdysUf2Jp3Gg8vMVH3+xw/ObSdn3U+UD6UCRj86f/U7XwneRQfhMlUI3kCyXdcwo5Fh9Zd2SJ69hsEgezc6bYVZ7I1mvve2bIjezOpwTWmVEBdU4XdUyZWA5/m1zGJpB+9Xhfy1UFHWO1VPVE8zMErbs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=FaSK0CHLKV5VuDVFWH2AbYeaZM+2Qq8U6IiKiotkQaLonKhBnV1vRKTWKC2msiqgEacf8Av+INym2oDjtuURZ3qiSPALEPGME7qW+C+hlQZu5DAgYnC4oYaIJNzplbVWEGh6ijowPDNkfzNRDnSaHn8sVecYsuNco36WUE8zAIQ= Received: by 10.35.125.20 with SMTP id c20mr3482159pyn.1187364115551; Fri, 17 Aug 2007 08:21:55 -0700 (PDT) Received: from ?10.0.0.14? ( [74.95.66.25]) by mx.google.com with ESMTPS id f78sm3596100pyh.2007.08.17.08.21.53 (version=SSLv3 cipher=OTHER); Fri, 17 Aug 2007 08:21:54 -0700 (PDT) In-Reply-To: <004001c7e0d7$196cce20$4c466a60$@com> References: <004001c7e0d7$196cce20$4c466a60$@com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <8225E755-0586-40A3-B756-950F7AA44107@gmail.com> Content-Transfer-Encoding: 7bit From: Eric Crist Date: Fri, 17 Aug 2007 10:21:44 -0500 To: "Fidel Garcia" X-Mailer: Apple Mail (2.752.3) Cc: questions@freebsd.org Subject: Re: Installing mysql 4.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2007 15:21:57 -0000 Add mysql_enable="YES" to your /etc/rc.conf file, and use the /usr/ local/etc/rc.d/mysql-server script to start the process as follows: % su root # /usr/local/etc/rc.d/mysql-server start HTH Eric Crist On Aug 17, 2007, at 9:01 AMAug 17, 2007, Fidel Garcia wrote: > Hi > > > > I have been trying to get mysql running for the past two days > without luck. > I added these two packages using sysinstall from FTP. > > mysql-client-4.0.26_1 Multithreaded SQL database (client) > > mysql-server-4.0.26_2 Multithreaded SQL database (server) > > > > I went to the folder /usr/ports/databases/mysql40-server/ and did a > make > clean install. > > > > Then I created the file /etc/my.cnf like > > > > fr# more my.cnf > > [mysqld] > > datadir=/usr/local/mysql/data > > socket=/tmp/mysql.sock > > > > [mysql.server] > > user=mysql > > basedir=/usr/local/bin/mysql > > > > > > I got stuck at this point. I have been reading online without luck. > I do not > even know how to start mysql. > > > > I hope you guys can point in the right directions. > > > > Thanks in advance. > > > > Fidel Garcia > > > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" ----- Eric F Crist Secure Computing Networks