From jon@jay.netcraft.com  Fri Nov 23 04:40:46 2001
Return-Path: <jon@jay.netcraft.com>
Received: from jay.netcraft.com (jay.netcraft.com [195.92.95.35])
	by hub.freebsd.org (Postfix) with ESMTP id 5885937B405
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Nov 2001 04:40:45 -0800 (PST)
Received: (from jon@localhost)
	by jay.netcraft.com (8.11.6/8.11.6) id fANCeWZ21575;
	Fri, 23 Nov 2001 12:40:32 GMT
	(envelope-from jon)
Message-Id: <200111231240.fANCeWZ21575@jay.netcraft.com>
Date: Fri, 23 Nov 2001 12:40:32 GMT
From: Jon Wilson <jon@netcraft.com>
Reply-To: Jon Wilson <jon@netcraft.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: safemysqld looks for my.cnf in wrong location
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         32225
>Category:       ports
>Synopsis:       safemysqld looks for my.cnf in wrong location
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    dirk
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 23 04:50:01 PST 2001
>Closed-Date:    Sat Nov 24 01:56:09 PST 2001
>Last-Modified:  Sat Nov 24 01:56:26 PST 2001
>Originator:     Jon Wilson
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
Netcraft
>Environment:
System: FreeBSD jay.netcraft.com 4.4-STABLE FreeBSD 4.4-STABLE #3: Mon Oct 29 12:45:29 GMT 2001 jon@jay.netcraft.com:/var/obj/usr/src/sys/JAY i386
	mysql-server-3.23.43

>Description:
	the mysql startup script 'safe_mysqld' will load a config file 'my.cnf'
	if it exists in various locations (see the mysql docs for details). 
	The mysql-server port correctly installs things under /usr/local, but
	safe_mysqld only looks for /etc/my.conf, and ignores /usr/local/etc/my.cnf
>How-To-Repeat:
	Put a config statement in /etc/my.cnf and watch it get ignored
>Fix:
	workaround:
		ln -s /usr/local/etc/my.cnf /etc/my.cnf
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->dirk 
Responsible-Changed-By: petef 
Responsible-Changed-When: Fri Nov 23 06:15:42 PST 2001 
Responsible-Changed-Why:  
Over to maintainer 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32225 
State-Changed-From-To: open->closed 
State-Changed-By: dirk 
State-Changed-When: Sat Nov 24 01:56:09 PST 2001 
State-Changed-Why:  
The port behaves like stated in the documentation  
(http://www.mysql.com/doc/O/p/Option_files.html) and the code 
(mysys/default.c) is quite clear about what directories to include. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32225 
>Unformatted:
