View Single Post
  #9   (View Single Post)  
Old 14th July 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Default

You have not yet started mysql.

As you saw when you read the rc man page, mysql will be started on boot by /usr/local/etc/rc.d/mysql (or similar: I use postgres), if there are the required entries in /etc/rc.conf.

The messages that were displayed on the screen when you finished installing mysql would have told you how to start it. It will be something like this.
1. add a line like mysql_enable="YES" to /etc/rc.conf.
2. run, as root, /usr/local/etc.rc.d/mysql start (or similar - the script should be named mysql, but it might be slightly different.

re locate: If you run either of the programs /etc/periodic/weekly/310.locate or /usr/libexec/locate.updatedb (and there are no error messages), locate will work. If there are any error messages, you will need to deal with them. Tell us what they are, and we might just be able to help.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote