From owner-freebsd-questions@FreeBSD.ORG Fri Aug 17 19:11:40 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EB5116A420 for ; Fri, 17 Aug 2007 19:11:40 +0000 (UTC) (envelope-from fgarcia@systeamusa.com) Received: from fmailhost04.isp.att.net (fmailhost04.isp.att.net [207.115.11.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7C6EB13C468 for ; Fri, 17 Aug 2007 19:11:40 +0000 (UTC) (envelope-from fgarcia@systeamusa.com) Received: from fide (adsl-074-246-021-235.sip.mia.bellsouth.net[74.246.21.235]) by bellsouth.net (frfwmhc04) with SMTP id <20070817191139H0400boljoe>; Fri, 17 Aug 2007 19:11:40 +0000 X-Originating-IP: [74.246.21.235] From: "Fidel Garcia" To: Date: Fri, 17 Aug 2007 15:08:41 -0400 Message-ID: <000f01c7e102$06eb5a20$14c20e60$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-language: en-us Thread-Index: Acfg8JPPVLQwsEXFRi21JDUSvyCrhgAEDvoQ Cc: Subject: FW: Installing mysql 4.0 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: Fri, 17 Aug 2007 19:11:40 -0000 This is what I found inside this file: /var/db/mysql/fr.admin.err 070816 08:36:14 mysqld started 070816 8:36:14 InnoDB: Operating system error number 13 in a file operation. InnoDB: See http://dev.mysql.com/doc/mysql/en/InnoDB.html InnoDB: for installation help. 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. 070816 08:36:14 mysqld ended Fidel Garcia System Engineer SysTeam. 7205 NW 19th Street, Suite 302 Miami, Florida 33126 Email: fgarcia@systeamusa.com Tel: (305)-477-7303 Fax: (305)-477-0013 http://www.systeamusa.com -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Eric Crist Sent: Friday, August 17, 2007 11:22 AM To: Fidel Garcia Cc: questions@freebsd.org Subject: Re: Installing mysql 4.0 Add mysql_enable="YES" to your /etc/rc.conf file, and use the /usr/ local/etc/rc.d/mysql-server script to start the process as follows: % su root # /usr/local/etc/rc.d/mysql-server start HTH Eric Crist On Aug 17, 2007, at 9:01 AMAug 17, 2007, Fidel Garcia wrote: > Hi > > > > I have been trying to get mysql running for the past two days > without luck. > I added these two packages using sysinstall from FTP. > > mysql-client-4.0.26_1 Multithreaded SQL database (client) > > mysql-server-4.0.26_2 Multithreaded SQL database (server) > > > > I went to the folder /usr/ports/databases/mysql40-server/ and did a > make > clean install. > > > > Then I created the file /etc/my.cnf like > > > > fr# more my.cnf > > [mysqld] > > datadir=/usr/local/mysql/data > > socket=/tmp/mysql.sock > > > > [mysql.server] > > user=mysql > > basedir=/usr/local/bin/mysql > > > > > > I got stuck at this point. I have been reading online without luck. > I do not > even know how to start mysql. > > > > I hope you guys can point in the right directions. > > > > Thanks in advance. > > > > Fidel Garcia > > > > > > > > _______________________________________________ > 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" ----- Eric F Crist Secure Computing Networks _______________________________________________ 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"