From owner-freebsd-ports@FreeBSD.ORG Thu Mar 10 19:54:19 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92BA81065670 for ; Thu, 10 Mar 2011 19:54:19 +0000 (UTC) (envelope-from joeb@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 5DCC28FC18 for ; Thu, 10 Mar 2011 19:54:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; q=dns/txt; s=DKIM-NAME-SERVICES-T; d=a1poweruser.com; h=From:To:Cc:Subject:Message-ID:X-Sender:X-Envelope-From:X-RcptTo; l=500; bh=cHwuGhdmDg7ZAUJt1KP7Kj9/TiD/woySX74O2kGiNg8=; b=Du3MIK8zKI0bWmOZh/UMWD1ET4n1tw+BG71Y86gRT5tFChndXHHYo+yj2i5cnDcYeD1Xq08cYuHy8MIx+eWRTWYc6ykL8zBPT2rRLrB0qxLirHQ2JBvWEtIYUm6gwff6VAmph1SjpDz04UAOcknAvwyScqZRTeYBamoxYzoChPw= Received: from laptop ([76.240.47.196]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 10 Mar 2011 11:37:19 -0800 From: "joeb" To: Date: Thu, 10 Mar 2011 14:37:20 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-OriginalArrivalTime: 10 Mar 2011 19:37:19.0856 (UTC) FILETIME=[91EE5F00:01CBDF5A] X-Sender: joeb@a1poweruser.com X-Envelope-From: joeb*a1poweruser.com Cc: ports@FreeBSD.org Subject: FreeBSD Port: mysql-server-5.5.9 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: joeb@a1poweruser.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2011 19:54:19 -0000 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.