Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2001 12:40:32 GMT
From:      Jon Wilson <jon@netcraft.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32225: safemysqld looks for my.cnf in wrong location
Message-ID:  <200111231240.fANCeWZ21575@jay.netcraft.com>

next in thread | raw e-mail | index | archive | help

>Number:         32225
>Category:       ports
>Synopsis:       safemysqld looks for my.cnf in wrong location
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 23 04:50:01 PST 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111231240.fANCeWZ21575>