[Bug 199751] databases/mysql56-server: Can't specify my.cnf path in /usr/local/etc/my.cnf or /etc/my.cnf
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Oct 25 21:42:08 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199751
Martin Waschbüsch <martin at waschbuesch.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |martin at waschbuesch.de
--- Comment #1 from Martin Waschbüsch <martin at 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=yes
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 mysql
| less), I can see that all parameters are set correctly:
/usr/local/libexec/mysqld --defaults-extra-file=/usr/local/etc/my.cnf
--basedir=/usr/local --datadir=/db/mysql
--plugin-dir=/usr/local/lib/mysql/plugin
--log-error=/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
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list