mysql-client-5.5.10 fails to install properly, breaking all dependant ports

Patrick Powell papowell at
Sun Mar 20 22:49:58 UTC 2011

On 03/20/11 14:38, Steven Hartland wrote:
> ----- Original Message ----- From: "Patrick Powell" <papowell at>
>> My bad.  That was mysql_upgrade.  Sorry for the confusion.  How about 
>> mysql_install_db?
> Can't test that I'm afraid as the machine is now in production. Might 
> want
> to make sure the old mysql pkg was removed correctly before the new
> version was installed.
> If you want to compare your version with the one we have I've uploaded
> to:
> Hope that helps.
>    Regards
>    Steve
> ================================================
> This e.mail is private and confidential between Multiplay (UK) Ltd. 
> and the person or entity to whom it is addressed. In the event of 
> misdirection, the recipient is prohibited from using, copying, 
> printing or otherwise disseminating it or any information contained in 
> it.
> In the event of misdirection, illegible or incomplete transmission 
> please telephone +44 845 868 1337
> or return the E.mail to postmaster at
Yep.  Still messed up:

At the start you have:


This should be:

basedir="/usr/local" <<<< finds /usr/local/bin
ldata="/var/db/mysql/" <<<< set up by some other parts of the configure 
                               but not put into mysql_install_db script

I use this quite heavily in some test scripts and installation scripts.  
Not to mention
that it pops up during the MySQL installation.   You also might have a 
peek at the
messages put out during installation.  They say something like ... start 
/usr/local/etc/rc.d/ start << drop the .sh

I would have put in a formal PR but I gave up trying to patch the source 
Perhaps a little edit script in the pre-install part of the make file?

Patrick Powell                 Astart Technologies
papowell at            1530 Jamacha Road, Suite X,
Network and System             San Diego, CA 92019
   Consulting                   858-874-6543
Web Site:

More information about the freebsd-ports mailing list