mysql won't start on boot
    Gary Hayers 
    gary at hayers.org
       
    Fri Dec 10 05:58:10 PST 2004
    
    
  
Vonleigh Simmons wrote:
>     After updating to 5.3 MySQL won't start at boot time. I read 
> UPDATING and it says to include a line in /etc/rc.conf. But even after 
> adding that line:
>
> # grep mysql /etc/rc.conf
> mysql_enable="YES"
>
>     It still won't start up on its own after I reboot. However doing:
>
> # /usr/local/bin/mysqld_safe --user=mysql --datadir=/var/db/mysql 
> --pid-file=/var/db/mysql/my_hostname.pid
Ok forget that last question, I found the answer, check the startup 
script is running the correct command, I found that in the start up 
script the command wasnt right ie.
command="/usr/local/bin/safe_mysqld"
So I changed it to:
command="/usr/local/bin/mysqld_safe"
Regards,
Gary Hayers
    
    
More information about the freebsd-questions
mailing list