mysql 4->5 problem

Philip M. Gollucci pgollucci at
Thu Jun 11 20:24:30 UTC 2009

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 at c: 703.336.9354
Consultant          - P6M7G8 Inc.      
Senior Sys Admin    - RideCharge, Inc. 
Contractor          - PositiveEnergyUSA
ASF Member          - Apache Software Foundation
FreeBSD Committer   - FreeBSD Foundation

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

More information about the freebsd-ports mailing list