ports/131814: customizable my.cnf filename for databases/mysql51-server

Carsten Wiedmann carsten_sttgt at gmx.de
Wed Feb 18 13:50:02 UTC 2009


>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 at 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:



More information about the freebsd-ports-bugs mailing list