From owner-freebsd-questions@FreeBSD.ORG Wed Jan 10 13:24:28 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AAE8916A407 for ; Wed, 10 Jan 2007 13:24:28 +0000 (UTC) (envelope-from stanhalprin@yahoo.com) Received: from web58909.mail.re1.yahoo.com (web58909.mail.re1.yahoo.com [66.196.100.242]) by mx1.freebsd.org (Postfix) with SMTP id 6B60913C442 for ; Wed, 10 Jan 2007 13:24:28 +0000 (UTC) (envelope-from stanhalprin@yahoo.com) Received: (qmail 47265 invoked by uid 60001); 10 Jan 2007 12:10:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type; b=05RIoWlCmKLEZFAVuKeGko5odsyRhLoj21ZxOW/9bOjV/y2sSNRaCR9EkNOqUU6DxnF9pxGM27KHKqV4W+STEGFym20JdWyuB0clMWF6I5skAG44TrwTZDbLWrdVAwzuOrNzKPyX8FBSNP/FSZuBf2FUxaeIda8dTuXhcU+BL5o= ; Message-ID: <20070110121039.47263.qmail@web58909.mail.re1.yahoo.com> Received: from [66.82.9.79] by web58909.mail.re1.yahoo.com via HTTP; Wed, 10 Jan 2007 04:10:39 PST Date: Wed, 10 Jan 2007 04:10:38 -0800 (PST) From: Stan Halprin To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: MySQL Port Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2007 13:24:28 -0000 ----- Original Message ----=0AFrom: George Vanev = =0A&&=0AFrom: Andrew Patyukhin=0A=0AAndrew:=0A>/usr/local/etc/rc.d/mysql-se= rver start=0AWorked. MySQL up! Thanks!=0A=0AGeorge:=0ASince MySQL is up, I = don't know if the following matters any more, nonetheless...=0A>Check if us= er mysql exists. If it doesn't - create it.=0A=0AExists=0A=0A># echo 'mysql= _enable=3D"YES"' >> /etc/rc.conf=0A=0Aok.=0A>#cd /usr/local/mysql=0A>#bin/m= ysql_install_db --user=3Dmysql=0A=0A# cd /usr/local/mysql=0A/usr/local/mysq= l: No such file or directory.=0A# mkdir -p /usr/local/mysql=0A# cd /usr/loc= al/mysql=0A# bin/mysql_install_db --user=3Dmysql=0A=0ABTW, do I want to use= the same user "mysql"? I'm wondering if that's a user that the installatio= n itself uses. Should I set up another user?=0A=0A# bin/mysql_install_db --= user=3Dmysql=0A=0Abin/mysql_install_db: Command not found.=0A# find / -name= mysql=0A/usr/bin/mysql=0A/usr/local/bin/mysql=0A/usr/local/include/mysql= =0A/usr/local/lib/mysql=0A/usr/local/libdata/ldconfig/mysql=0A/usr/local/sh= are/mysql=0A/usr/local/mysql=0A/var/db/mysql=0A/var/mail/mysql=0A# ls /var/= db/mysql/=0A#=0ATIA,=0AStan=0A=0A=0A=0A=0A=0A______________________________= ____________________=0ADo You Yahoo!?=0ATired of spam? Yahoo! Mail has the= best spam protection around =0Ahttp://mail.yahoo.com