[Bug 272137] databases/mysql80-server: no option to set my.cnf file
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Jun 2023 23:40:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272137 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_optfile setting but mysqld is still reading /usr/local/etc/mysql/my.cnf. I want finer control and would like to point mysqld at a localized my.cnf. Suggested fix: sysrc mysql_defaults_file=/some/etc/my.cnf Having set that variable, mysql would then have '--defaults-file=/some/etc/my.cnf' inserted into the initialization and startup invocations of mysqld. Is there a way to submit a PR against the ports tree yet? -- You are receiving this mail because: You are the assignee for the bug.