ports/93134: add pkg-message to mysql-server-4.1.16

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

>Number:         93134
>Category:       ports
>Synopsis:       add pkg-message to mysql-server-4.1.16
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 10 16:20:05 GMT 2006
>Originator:     Joe
>Release:        6.0
  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

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 

The mysql databases and log files are written here

More information about the freebsd-ports-bugs mailing list