From owner-freebsd-questions@FreeBSD.ORG Wed Jan 10 11:42:18 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 3FB6116A407 for ; Wed, 10 Jan 2007 11:42:18 +0000 (UTC) (envelope-from george.vanev@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id CE3B513C44B for ; Wed, 10 Jan 2007 11:42:17 +0000 (UTC) (envelope-from george.vanev@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so70231uge for ; Wed, 10 Jan 2007 03:42:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=IYR3MAwMX0DPB1062JnikOwSQ6Pq0AYFdTv1XYahEEABwtLrDErW59Cza/708cDfeBtlAde55MvM9XPfX/gvqChQUCckN7RP/FJLyK7a2eHofSuWy/Gl+9Gv4LPmr8iscmEC6FRQJPJ10AT74JnfdcaUfffFiFyEPxf66sAHPr0= Received: by 10.78.193.19 with SMTP id q19mr68503huf.1168429336489; Wed, 10 Jan 2007 03:42:16 -0800 (PST) Received: by 10.78.132.3 with HTTP; Wed, 10 Jan 2007 03:42:15 -0800 (PST) Message-ID: <6f4f57f60701100342j6a08187k9a605eba1a39853c@mail.gmail.com> Date: Wed, 10 Jan 2007 13:42:15 +0200 From: "George Vanev" To: "Stan Halprin" In-Reply-To: <20070110112843.79870.qmail@web58911.mail.re1.yahoo.com> MIME-Version: 1.0 References: <20070110112843.79870.qmail@web58911.mail.re1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: MySQL Port Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: George.Vanev@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2007 11:42:18 -0000 Check if user mysql exists. If it doesn't - create it. # echo 'mysql_enable="YES"' >> /etc/rc.conf #cd /usr/local/mysql #bin/mysql_install_db --user=mysql #chown -R root . #chown -R mysql var #chgrp -R mysql . #bin/mysqld_safe --user=mysql & #bin/mysqladmin -u root password '' #bin/mysql grant all privileges on *.* to 'your_user'@'host' identified by 'password' with grant option; exit; On 1/10/07, Stan Halprin wrote: > > Hello; > I'm trying to build MySQL 5.0 (server) on FBSD 6.1 from port. I ran "make > install clean" but now I'm lost. mysqld is not up. What is my username? > Never asked me for one in the install. Tried this: > > # /usr/local/libexec/mysqld -umysql > 070109 16:39:30 InnoDB: Operating system error number 13 in a file > operation. > InnoDB: The error means mysqld does not have the access rights to > InnoDB: the directory. > InnoDB: File name ./ibdata1 > InnoDB: File operation call: 'create'. > InnoDB: Cannot continue operation. > > Looks like there's probably more that needs to be done to get an > out-of-the-box MySQL port installation working. Please advise. > Stan > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- George Vanev Information Systems Specialist tel.: +359 898 44 25 37