List:General Discussion« Previous MessageNext Message »
From:Iago Sineiro Date:May 23 2002 4:16pm
Subject:Where is my.cnf in FreeBSD?
View as plain text  
Hi.

Anybody knows where is the my.cnf file (or equivalent) in FreeBSD?

I've installed mysql-3.23.49 using the port in FreeBSD 4.5.

The script than launches mysql (usr/local/etc/rc.d/mysql-server.sh) is very
simple and don't look for any configuration file.
The script is:

-----------------
#!/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

-----------------

Thanks in advance

Iago.


Thread
Where is my.cnf in FreeBSD?Iago Sineiro23 May
  • Re: Where is my.cnf in FreeBSD?Dan Nelson23 May