Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2023 23:40:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272137] databases/mysql80-server: no option to set my.cnf file
Message-ID:  <bug-272137-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272137

            Bug ID: 272137
           Summary: databases/mysql80-server: no option to set my.cnf file
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: joneum@FreeBSD.org
          Reporter: matt@tnpi.net
          Assignee: joneum@FreeBSD.org
             Flags: maintainer-feedback?(joneum@FreeBSD.org)

I'm installing mysql to a non-standard location (for both etc & db). The
existing port permits one to set --defaults-extra-file with the mysql_optfi=
le
setting but mysqld is still reading /usr/local/etc/mysql/my.cnf. I want fin=
er
control and would like to point mysqld at a localized my.cnf.

Suggested fix:

sysrc mysql_defaults_file=3D/some/etc/my.cnf

Having set that variable, mysql would then have
'--defaults-file=3D/some/etc/my.cnf' inserted into the initialization and s=
tartup
invocations of mysqld.

Is there a way to submit a PR against the ports tree yet?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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