From owner-freebsd-questions@FreeBSD.ORG Sun May 20 15:17:00 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 C5B2816A469 for ; Sun, 20 May 2007 15:17:00 +0000 (UTC) (envelope-from bob@a1poweruser.com) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.freebsd.org (Postfix) with ESMTP id 3316013C448 for ; Sun, 20 May 2007 15:17:00 +0000 (UTC) (envelope-from bob@a1poweruser.com) Received: from laptop ([76.190.225.105]) by mta10.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20070520151659.ZMLP10832.mta10.adelphia.net@laptop>; Sun, 20 May 2007 15:16:59 +0000 From: "Bob" To: "Agus" , "freebsd-questions" Date: Sun, 20 May 2007 11:16:59 -0400 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) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Importance: Normal Cc: Subject: RE: Mysqld-server errors starting... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bob@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2007 15:17:00 -0000 Here are the things you have to do to activate MySql after installing the port. To autostart mysql at boot add this to /etc/rc.conf mysql_enable="YES" To start or stop mysql server do this /usr/local/share/mysql/mysql.server start /usr/local/share/mysql/mysql.server stop You have to tell mysql to create its internel control db by running this command. mysql_install_db --user=mysql To verify mysql is operational issue these commands mysqladmin version mysqladmin variables To start command line session with mysql server to create a DB enter mysql -u root The online mysql manual is at http://dev.mysql.com/doc/refman/5.0/en/index.html The mysql databases and log files are written here /var/db/mysql -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Agus Sent: Friday, May 18, 2007 11:19 PM To: freebsd-questions Subject: Mysqld-server errors starting... Hi all... I got a problem starting the server.... /usr/local/libexec/mysqld: cant read dir or '/tmp/' (Errcode: 13) and a few more lines.... i read sthg about permitions, but i checked /tmp perms and everybody con write there... thanks.... _______________________________________________ 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"