Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2009 16:24:28 -0400
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        Mel Flynn <mel.flynn+fbsd.ports@mailing.thruhere.net>
Cc:        Randy Bush <randy@psg.com>, freebsd-ports@freebsd.org
Subject:   Re: mysql 4->5 problem
Message-ID:  <4A3167FC.4070000@p6m7g8.com>
In-Reply-To: <200906111220.52178.mel.flynn%2Bfbsd.ports@mailing.thruhere.net>
References:  <m27hzpn35o.wl%randy@psg.com> <200906111104.27039.mel.flynn%2Bfbsd.ports@mailing.thruhere.net> <4A315B37.5030201@p6m7g8.com> <200906111220.52178.mel.flynn%2Bfbsd.ports@mailing.thruhere.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Mel Flynn wrote:
> On Thursday 11 June 2009 11:29:59 Philip M. Gollucci wrote:
>> Mel Flynn wrote:
>>> You ran mysql_upgrade before starting the new server?
>> Usually you have to start the server to run it. it conects to it to make
>> changes to the 'mysql' database.
> 
> Right. Sometimes aliases are evil:
> alias mysql_upgrade='/usr/local/libexec/mysqld --no-defaults --skip-grant-
> tables --socket=/tmp/mysql.sock --skip-networking --datadir=/var/db/mysql && 
> /usr/local/bin/mysql_upgrade -S /tmp/mysql.sock; killall mysqld'
> 
> Though, reading up on his error, I doubt it's the problem.

Maybe we should consider adding an 'extra_command' called upgrade.


-- 
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
Consultant          - P6M7G8 Inc.                http://p6m7g8.net
Senior Sys Admin    - RideCharge, Inc.           http://ridecharge.com
Contractor          - PositiveEnergyUSA          http://positiveenergyusa.com
ASF Member          - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation         http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



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