| Summary: | add pkg-message to mysql-server-5.1.5 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | FBSD mailing List <fbsd_user> |
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer. State Changed From-To: open->closed Not needed, thanks anyway. |
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