Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2016 00:27:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 209512] mysql57-server-5.7.12: Server not usable after installation
Message-ID:  <bug-209512-13-sMduwzcbWG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209512-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209512-13@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #15 from Miroslav Lachman <000.fbsd@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=3Dpath, i=
f 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.cn=
f,
the second /usr/local/etc/mysql/my.cnf and third /var/db/mysql/my.cnf (DATA=
DIR)
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.

--=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-209512-13-sMduwzcbWG>