From owner-freebsd-ports@FreeBSD.ORG Thu Mar 10 20:17:56 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA52B106566B for ; Thu, 10 Mar 2011 20:17:56 +0000 (UTC) (envelope-from freebsd-ports.user@seibercom.net) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id EE94B8FC16 for ; Thu, 10 Mar 2011 20:17:55 +0000 (UTC) Received: by yxl31 with SMTP id 31so953929yxl.13 for ; Thu, 10 Mar 2011 12:17:55 -0800 (PST) Received: by 10.150.186.21 with SMTP id j21mr1548231ybf.289.1299788274995; Thu, 10 Mar 2011 12:17:54 -0800 (PST) Received: from scorpio.seibercom.net (cpe-071-070-216-068.nc.res.rr.com [71.70.216.68]) by mx.google.com with ESMTPS id q20sm4324867ybk.5.2011.03.10.12.17.53 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Mar 2011 12:17:54 -0800 (PST) Received: from seibercom.net (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: freebsd-ports.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 7834BE54833 for ; Thu, 10 Mar 2011 15:17:52 -0500 (EST) Date: Thu, 10 Mar 2011 15:17:51 -0500 From: Jerry To: freebsd-ports@freebsd.org Message-ID: <20110310151751.7570ac79@seibercom.net> In-Reply-To: References: Organization: seibercom.net X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEUeH4oAAI3//v8LDHmw s8gyNZ/b3ej7+vn+/v////+PjIc8Plaj/TnQAAACNElEQVQ4jaXUvW/aQBQAcFtKGZLFT+YY 3D1SR9SKoRMncE3IggU4kicGi1JYOgQwyYrgnLlSzhsoNkTuVJEp+ef6ztiAoV3aJ+QPfufn s987S/5fQvoXYPjztmfc514Ks+5JfGUCfrzt4+VabF+jwEV4DGEXN8N4p16sPLxHX07/V3qX yfF5D2H6K4V8j9NkyAphvkjBembD5PDFk3zeTzP1jcksyaV9w+d4ELmUoOp8N2p8uQVyhTAT uawnKNH2mie5lJp48mscUcbJUvg0mR6APwAoye9AMyWozY4gAh0vcxa5FJ4TKCuODESWtfkB 8AEQSupUXNIYH8FSC2w8X3eMBNbbVJpJ7MgECO5yJ9DUEWCYkzNAlsRsgwLQ1GkWqELbkDOh 1bUzoHagYkNh9MXlK/MQoA42gTxz2bhPM2DJedm8MZx6cNfJgEZJ5cmwPp5FZ/Ye8O2qTrFV dgOrHkZRBoheJiGrRquwAhnQ6GeTePPerWVmQelAQ5lwNqtvQd2lcooAV74/zR1BIRS19fy5 ru+B/8ReW9pYKMPjt609zDaitHHTGOO+Zu7gHvsKE7XbeE1QVuJXomIFuZgUJdXQdhpqEELc /e8RLjfi+cQ01yMdWot8UcCVxEWHEkcUrsDGuhaIEoM9kfgAR6jxHcmEV7tNURAl8KTHN9iF McKGFHGO62O62UMpbmlVuogQ7ndL8zXCiLeBy3xpfrqaXS/+AHDG4o8AvhuPeezD/3xL/hy/ Adjlg2odglF2AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: FreeBSD Port: mysql-server-5.5.9 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2011 20:17:56 -0000 On Thu, 10 Mar 2011 14:37:20 -0500 joeb articulated: > I have been using mysql since fbsd 7.2 and always just issued the > mysql_install_db command on the command line to create mysql's control > databases and it always worked fine. > > But now with fbsd 8.2 I get the following error and have no idea why. > I installed using pkg_add -r mysql55-server command. > > I see that 3 weeks ago you updated the mysql55-server port from mysql > 554 to 559. > I believe there is an error in your update causing the > mysql_install_db command to error out. > The error message follows. > > > # /usr/local/bin >mysql_install_db --user=mysql or > #root >mysql_install_db --user=mysql > > > FATAL ERROR: Could not find ./bin/my_print_defaults > > If you compiled from source, you need to run 'make install' to > copy the software into the correct location ready for operation. > > If you are using a binary release, you must either be at the top > level of the extracted archive, or pass the --basedir option > pointing to that location. > ********* end of error msg. ******** > > > # /usr/local/bin >locate my_print_defaults > /usr/local/bin/my_print_defaults > > As you can see the script the error message says it can not find is > really in the same location as > the mysql_install_db script, so it should have found it. > > I ended up pointing to the 8.1 packages with the pkg-add command to > install and then > the mysql-server5.5.4 mysql_install_db command ran from the command > line without any errors. How do you start mysql, via the command line or using the rc.d script? -- Jerry ✌ FreeBSD-Ports.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________