Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 2015 21:42:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 199751] databases/mysql56-server: Can't specify my.cnf path in /usr/local/etc/my.cnf or /etc/my.cnf
Message-ID:  <bug-199751-13-8OOuYQAukA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-199751-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-199751-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=3D199751

Martin Waschb=C3=BCsch <martin@waschbuesch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin@waschbuesch.de

--- Comment #1 from Martin Waschb=C3=BCsch <martin@waschbuesch.de> ---
Hi there,

I tried (without success) to reproduce this.
I tested this on FreeBSD 10.2-RELEASE-p5 amd64 on a clean ports tree.
The only option in /etc/make.conf that I set is:
DEVELOPER=3Dyes

The steps were:

cd /usr/ports/databases/mysql56-server
make install clean

I then added the three lines you mentioned to /etc/rc.conf,
created /db/mysql - it will !not! be autocreated:
mkdir -p /db/mysql

then I ran:

service mysql-server start

when I now examine the command line mysql-server is running (ps ax | grep m=
ysql
| less), I can see that all parameters are set correctly:

/usr/local/libexec/mysqld --defaults-extra-file=3D/usr/local/etc/my.cnf
--basedir=3D/usr/local --datadir=3D/db/mysql
--plugin-dir=3D/usr/local/lib/mysql/plugin
--log-error=3D/db/mysql/dev.waschbuesch.it.err --pid

dbdir is set to /db/mysql
defaults-extra-file is set to /usr/local/etc/my.cnf

So, all seems to be like it should be.

Does your build environment differ somehow?

Martin

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199751-13-8OOuYQAukA>