Date: Sun, 20 Mar 2011 15:49:56 -0700 From: Patrick Powell <papowell@astart.com> To: Steven Hartland <killing@multiplay.co.uk> Cc: freebsd-ports@freebsd.org Subject: Re: mysql-client-5.5.10 fails to install properly, breaking all dependant ports Message-ID: <4D868494.6010207@astart.com> In-Reply-To: <75DC7D34340543AAB361D0653ED29D47@multiplay.co.uk> References: <C7DBBAFA-AC69-46FD-A437-AEA3A7831791@lassitu.de> <19846.939.297094.62466@jerusalem.litteratus.org> <4D860CDF.1080001@astart.com><20110320103356.7aefc1c5@seibercom.net><4D864A2B.8070600@astart.com><D46663BB25D1488991ECEDA257446BA3@multiplay.co.uk> <4D866EA0.8030102@astart.com> <75DC7D34340543AAB361D0653ED29D47@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/20/11 14:38, Steven Hartland wrote: > ----- Original Message ----- From: "Patrick Powell" <papowell@astart.com> >> 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: http://www.multiplaygameservers.com/dropzone/mysql_install_db.gz > > 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@multiplay.co.uk. > > Yep. Still messed up: At the start you have: basedir="" builddir="" ldata="./data" langdir="" srcdir="" This should be: basedir="/usr/local" <<<< finds /usr/local/bin builddir="" ldata="/var/db/mysql/" <<<< set up by some other parts of the configure script but not put into mysql_install_db script langdir="" srcdir="" 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 using: /usr/local/etc/rc.d/mysql-server.sh start << drop the .sh I would have put in a formal PR but I gave up trying to patch the source code. Perhaps a little edit script in the pre-install part of the make file? -- Patrick Powell Astart Technologies papowell@astart.com 1530 Jamacha Road, Suite X, Network and System San Diego, CA 92019 Consulting 858-874-6543 Web Site: www.astart.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D868494.6010207>