Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Apr 2004 22:23:45 -0700
From:      Demian L'Ecuyer <dl@dlfws.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: MySQL installation troubles ...
Message-ID:  <4074E1E1.1060906@dlfws.net>
In-Reply-To: <40745DC8.70801@alzogbi.com>
References:  <40745DC8.70801@alzogbi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4074E1E1.1060906>