From owner-freebsd-questions@FreeBSD.ORG Wed Apr 7 22:23:55 2004 Return-Path: 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 47EED16A4D1 for ; Wed, 7 Apr 2004 22:23:55 -0700 (PDT) Received: from smtp813.mail.sc5.yahoo.com (smtp813.mail.sc5.yahoo.com [66.163.170.83]) by mx1.FreeBSD.org (Postfix) with SMTP id D39B443D58 for ; Wed, 7 Apr 2004 22:23:54 -0700 (PDT) (envelope-from dl@dlfws.net) Received: from unknown (HELO dlfws.net) (the?freak@sbcglobal.net@4.8.22.72 with plain) by smtp813.mail.sc5.yahoo.com with SMTP; 8 Apr 2004 05:23:54 -0000 Message-ID: <4074E1E1.1060906@dlfws.net> Date: Wed, 07 Apr 2004 22:23:45 -0700 From: Demian L'Ecuyer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031202 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <40745DC8.70801@alzogbi.com> In-Reply-To: <40745DC8.70801@alzogbi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: MySQL installation troubles ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 05:23:55 -0000 Mazen S. Alzogbi wrote: > Hi, > > I am trying to install MySQL server & client from the packages > collection with no success. Being a FreeBSD newbie I will need your > help. Please check the following: > > mazenbsd# pkg_add -r mysql-server > Fetching > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/Latest/mysq > l-server.tgz... Done. > Fetching > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/All/p5-DBD- > mysql-2.1026_1.tgz... Done. > pkg_add: could not find package mysql-client-4.0.15 ! > pkg_add: pkg_add of dependency 'p5-DBD-mysql-2.1026_1' failed! > Fetching > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/All/mysql-c > lient-4.1.0.tgz... Done. > > What I understood is p5-DBD-mysql-2.1026_1.tgz package depends on the > mysql-client-4.0.15 package which cannot be found (how? why?) and > instead the mysql-client-4.1.0.tgz package was installed. All in all > the server installation failed. > > What should I do to fix this? > > TIA > > Cheers, Hello Mazen, I'm not going to cover whats wrong with pkg_add -r because I don't know .. however, there are a couple of other ways to install MySQL. You could use the ports, build from source, or use binaries. In my opinion, the quickest way to get things up and running is using the binaries. First, go here: http://www.mysql.com/downloads/mysql-4.0.html Second, download the first file from the FreeBSD downloads section ( Standard 4.0.18 9.4M ) Third, in the directory where you downloaded the file run this command, tar zxvf mysql-standard-4.0.18-unknown-freebsd4.7-i386.tar.gz Fourth, cd into the newly created directory and read the INSTALL-BINARY text file, that should give you what you need. Hope this helps, Thanatos