On Fri, 28 Nov 2003 10:42:40 -0500 "Xpression" <[EMAIL PROTECTED]> wrote:
|O|> Hi list, I've installed mysql-4.0.16.tar.gz on a |O|>FreeBSD-4.5 server, at least it compile, then I edit and |O|>copy the my-medium.cnf file to /etc/my.cnf location...when I |O|>reboot MySQL doesn't start...anyone running it ??? Or I have |O|>to do some steps to make running it ??? You have to create a file in your /usr/local/etc/rc.d directory that will start (and stop) mysql. It needs to be 'chmod 755' (you could probably use chmod 700) And, it would likely contain something like this: ================= snip start============== #!/bin/sh case "$1" in start) if [ -x /usr/local/bin/safe_mysqld ]; then /usr/local/bin/safe_mysqld --user=mysql > /dev/null & echo -n ' mysqld' fi ;; stop) /usr/bin/killall mysqld > /dev/null 2>&1 && echo -n ' mysqld' ;; *) echo "" echo "Usage: `basename $0` { start | stop }" echo "" exit 64 ;; esac ================ end snippet ==================== _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"