Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2016 21:12:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 194305] databases/mariadb55-server (probably mysql too) ignores datadir directive in my.cnf
Message-ID:  <bug-194305-13-SH9GTVSeP4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194305-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194305-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=3D194305

--- Comment #16 from MMacD <scratch65535@att.net> ---
in rx to Markus

I certainly agree that breaking anything would be A Very Bad Idea, but 99% =
of
the problem could be solved by again following the MariaDB/MySQL docs about=
 the
datadir directive in my.cnf.  Don't disallow what's allowed now, just re-en=
able
datadir in my.cnf.  That keeps the problem solved for those who already know
about /etc/rc.conf, and again solves the problem for those who read the
MariaDB/MySQL docs.

Then, a future MariaDB/MySQL port (maybe the next one?) could prominently
announce in the ephemera at the end of the install that, while the db files
used to be in /var/db/mysql, they can now be found in /var/lib/mysql *AND* =
that
the datadir directive in my.cfg should be set if a different location is
desired.  Then the /etc/rc.conf kludge etc. could be allowed to decay
naturally.

(Sys management has never been a job or a hobby, for me.  The only boxes I'=
ve
ever managed are the ones at my own desk.  Mostly VMS then, FreeBSD and Win=
doze
now.  I've always worked in product dev:  developer, dev boss, architect,
program manager, so to me the box has always and only been a tool for getti=
ng
something else done, and consequently I've never had the time to be a "good
admin" :-)  )

--=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-194305-13-SH9GTVSeP4>