ports/93133: add pkg-message to mysql-server-4.0.26

Joe fbsd_user at a1poweruser.com
Fri Feb 10 16:20:20 UTC 2006


>Number:         93133
>Category:       ports
>Synopsis:       add pkg-message to mysql-server-4.0.26
>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:05 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:



More information about the freebsd-ports-bugs mailing list