From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 21:15:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97A5F106566C for ; Sun, 10 Jan 2010 21:15:06 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp104.prem.mail.ac4.yahoo.com (smtp104.prem.mail.ac4.yahoo.com [76.13.13.43]) by mx1.freebsd.org (Postfix) with SMTP id 3A09E8FC08 for ; Sun, 10 Jan 2010 21:15:05 +0000 (UTC) Received: (qmail 72061 invoked from network); 10 Jan 2010 21:15:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Reply-To:Organization:In-Reply-To:References:X-Face:Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer; b=B/sh9DZA0vg04uOssv7l6AEuJEEhGcWAPwmy1fNQWPgubtSRT6XsXW6uIIrvWHL4JSydIDJYKJRP8xwZssKjdSoWHsKiukLqHQ/iK7zzy/FPwp2vWbI+OIg2M/drzXuhU/vRYF2yDJiWoQsrfqEPFOnJS4/z1uo+Jy8pUNgxct0= ; Received: from c-67-189-160-65.hsd1.ny.comcast.net (gesbbb@67.189.160.65 with login) by smtp104.prem.mail.ac4.yahoo.com with SMTP; 10 Jan 2010 13:15:02 -0800 PST X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: jp3DlkIVM1nLVArRNCcw1oao8hUYgVnw8Uq0upfuEdgHaBzmmMTybcmo7ld06AabpWdNh11zCmDFZqsB5ow7sY.h.J16gtTKZgeDMLwUhbamKM7LiIWGwW7aujCOPhtgssufzIQYxPPk5Elv_CEYttuCLANR5tYn915senA1Mu0MpoCz1j6ASbQR5naMnNlFPhOy4DFEg63YaL8tBaQcHHw099aiBzp5BOvMVu1LHf6xBL0jetIHTFDmUJrKt4pVIf2.nIVIxDafhfpYHARN1EdI1YetHYK7fWQmjFOGGB0YlEnwWlLkLDXflw-- X-Yahoo-Newman-Property: ymail-3 Date: Sun, 10 Jan 2010 16:15:01 -0500 From: Jerry To: User questions Organization: seibercom.net In-Reply-To: <27100257.post@talk.nabble.com> References: <27100257.post@talk.nabble.com> X-Face: %w26Xx*^+moP{$gQJ3pY@y!8g&-n%/zKp; aE#\*zy9L1X$QU7)|K"# QM:ob~"(eWt{P?#Ec; |v]#G"{{WZF-rt\4n1IS3I[w>Z Message-Id: <20100110161500.78D8.32B2AB49@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.52.03 [en] Subject: Re: Catastrophic Installation Failure now! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: User questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 21:15:06 -0000 On Sun, 10 Jan 2010 09:17:35 -0800 (PST) jaymax articulated: > I was frustrated by a failure to create a ROOT password and decided to do a > clean reinstall > Did a "make deinstall" from the following ports > > [i] /usr/ports/databases/mysql54-server > [ii] /usr/ports/databases/mysql54-client > [iii] /usr/ports/databases/mysql54-scripts > > Did a rm of the /etc/my.cnf file (There were no others in related or > relevant areas) Try this. pkg_delete -dfv mysql* That should delete all traces of MySQL You might also want to backup the contents of the /var/db/mysql folder also. In any case, delete the folder and it contents. While you are at it, delete the files in "/usr/ports/distfiles" also. Update the ports tree, and cd to the version of mysql you want to install. Run "make config" to insure it is configured correctly. Run; make install && make clean Make sure that the correct entry is in the "/etc/rc.conf" file to enable MySQL to start on boot. I think it is: mysql_enable="YES". Either reboot or cd to the "/usr/local/etc/rc.d" directory and run the mysql startup script. I believe "./mysql" is correct. This should create all of the necessary files and directories you need to initialise MySQL. -- Jerry gesbbb@yahoo.com