Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2006 16:14:47 GMT
From:      Joe  <fbsd_user@a1poweruser.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/93136: add pkg-message to mysql-server-5.1.5
Message-ID:  <200602101614.k1AGElRU047248@www.freebsd.org>
Resent-Message-ID: <200602101620.k1AGK7ad098228@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602101614.k1AGElRU047248>