[Bug 194305] databases/mariadb,mysql,percona*-server: Does not respect/honour user-specified datadir directive in my.cnf

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 8 16:03:50 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194305

SolarCatcher <solarcatcher at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |solarcatcher at gmx.de

--- Comment #39 from SolarCatcher <solarcatcher at gmx.de> ---
Just found this bug report - after spending several hours trying to move the
data-directory to the place suggested by percona for ZFS.

I can happily live with configuring the datadir through the mysql_dbdir
variable in rc.conf. But a warning in /usr/local/etc/mysql/confd./server.cnf
would be very useful. 

Currently the standard server.cnf file includes under [mysqld]

datadir  = /var/db/mysql

And, commented out, suggests setting it for ZFS to
datadir = /var/db/mysql/data

None of these configuration directives have any effect, because datadir is
overriden by the rc variable mysql_dbdir when starting mysql-server via the
script in rc.d. It would probably help to clearly state this in server.cnf.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list