From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 10 16:20:12 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2DCC16A420 for ; Fri, 10 Feb 2006 16:20:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C93E643D86 for ; Fri, 10 Feb 2006 16:20:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1AGK7Q8098229 for ; Fri, 10 Feb 2006 16:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1AGK7ad098228; Fri, 10 Feb 2006 16:20:07 GMT (envelope-from gnats) Resent-Date: Fri, 10 Feb 2006 16:20:07 GMT Resent-Message-Id: <200602101620.k1AGK7ad098228@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joe Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B075616A420 for ; Fri, 10 Feb 2006 16:14:47 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 549B343D45 for ; Fri, 10 Feb 2006 16:14:47 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k1AGElIF047249 for ; Fri, 10 Feb 2006 16:14:47 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k1AGElRU047248; Fri, 10 Feb 2006 16:14:47 GMT (envelope-from nobody) Message-Id: <200602101614.k1AGElRU047248@www.freebsd.org> Date: Fri, 10 Feb 2006 16:14:47 GMT From: Joe To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/93136: add pkg-message to mysql-server-5.1.5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2006 16:20:13 -0000 X-List-Received-Date: Fri, 10 Feb 2006 16:20:13 -0000 >Number: 93136 >Category: ports >Synopsis: add pkg-message to mysql-server-5.1.5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Feb 10 16:20:06 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Joe >Release: 6.0 >Organization: >Environment: >Description: The port has no instruction on how to activate it or use it. Add a pkg-message containing usage info so at end of the install this info will display to the installer. Here is the content. 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 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: