Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2011 13:37:12 +0100
From:      Chris Rees <utisoft@gmail.com>
To:        Glenn McCalley <glenn@mail.bnetmd.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: MySQL update
Message-ID:  <BANLkTimKM4_MopJT1r8BctOhJyyYNzY3DQ@mail.gmail.com>
In-Reply-To: <7E6F915F8DE848FEABB9A0F4A901062E@GLENN2>
References:  <7E6F915F8DE848FEABB9A0F4A901062E@GLENN2>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7 June 2011 12:56, Glenn McCalley <glenn@mail.bnetmd.net> wrote:
> Trying to update MySQL from 4.1 to 5.5.
> Updating mysql-client first.
> Make works great, but make install refuses to install saying 5.5 conflict=
s
> with 4.1, run
> pkg_delete for 4.1.
> pkg_delete for 4.1 refuses to deinstall as all the php52 packages
> (extensions, mysql, mysqli, pdo_mysql etc.) depend on mysql 4.1.
>
> Question: =A0Do I have to deinstall everything, and then put it all back
> together, or can I force the mysql 5.5 client and 5.5 server to install?
>

I'm at work at the moment, so I can't test these, sorry.

Firstly, get portmaster:

# pkg_add -r portmaster

Then read the manpage:

% man portmaster

Try something like:

# portmaster -o databases/mysql55-client mysql-client

# portmaster -o databases/mysql55-server mysql-server

Then, because you haven't read the manpage you'll have to confirm
everything. Read the manpage!

If it doesn't work (because I made a mistake with the -o syntax), read
the manpage and then let us have the output.

Chris



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