Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2009 13:40:14 GMT
From:      Carsten Wiedmann <carsten_sttgt@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/131814: customizable my.cnf filename for databases/mysql51-server
Message-ID:  <200902181340.n1IDeEWT070084@www.freebsd.org>
Resent-Message-ID: <200902181350.n1IDo1bw046795@freefall.freebsd.org>

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

>Number:         131814
>Category:       ports
>Synopsis:       customizable my.cnf filename for databases/mysql51-server
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 18 13:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Carsten Wiedmann
>Release:        FreeBSD 7.1-RELEASE
>Organization:
Wiedmann
>Environment:
FreeBSD bsdserver-2-node1 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
As of MySQL 5.1.10 the location for the "my.cnf" should be "/usr/local/etc" [1]. But in the startup script "/mysql-server.sh" the path is fixed to "--defaults-extra-file=${mysql_dbdir}/my.cnf".

a) the default should be "/usr/local/etc/my.cnf".
b) there should be a rc.conf var like " ${mysql_defaultsfile="/usr/local/etc/my.cnf"}".

Regards,
Carsten

[1] http://dev.mysql.com/doc/refman/5.1/en/option-files.html#id657775

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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