[Bug 209512] mysql57-server-5.7.12: Server not usable after installation
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue May 17 00:27:38 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209512
--- Comment #15 from Miroslav Lachman <000.fbsd at quip.cz> ---
I was not talking about rc conf defaults but compile time defaults.
According to MySQL and MariaDB documentation
http://dev.mysql.com/doc/refman/5.7/en/option-files.html
https://mariadb.com/kb/en/mariadb/configuring-mariadb-with-mycnf/
/etc/my.cnf Global
/etc/mysql/my.cnf Global
SYSCONFDIR/my.cnf Global
$MYSQL_HOME/my.cnf Server
defaults-extra-file File specified with --defaults-extra-file=path, if any
~/.my.cnf User
So in FreeBSD world, where everything from ports should have its files under
/usr/local prefix, the first search location should be /usr/local/etc/my.cnf,
the second /usr/local/etc/mysql/my.cnf and third /var/db/mysql/my.cnf (DATADIR)
AFAIK this is how it works for a decade.
It was already discussed in Bug 182547
I am not against changing defaults in rc script but I think the defaults for
mysql server it-self should be left unchanged.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list