| Summary: | mysql41-server port lost DB_DIR option | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Tim Wilde <freebsd> |
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
It looks like there were some other changes relating to ${DB_DIR}
disappearing too - specifically, fresh databases are always being created in
/var/db/mysql on installation as well, and the default entry in the rc.d
script is hard-coded as well. It'd be really nice to have the DB_DIR
functionality back in the makefile, I don't see why it is mutually exclusive
with being able to set it in rc.conf.
--
Tim Wilde
twilde@dyndns.org
Systems Administrator
Dynamic Network Services, Inc.
http://www.dyndns.org/
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer State Changed From-To: open->closed Fresh databases are created where you want, not during installation. Read ports/UPDATING. |
In the update to MySQL 4.1.10, the mysql41-server port lost its DB_DIR make option. The DB_DIR is now set statically in the compile to /var/db/mysql. This appears to have been part of a "fix" to being able to specify the DB_DIR in rc.conf, but I don't understand why this was taken out at the same time. It should still be possible to specify the database directory passed to mysql's configure script. Fix: Simply add DB_DIR back into the Makefile, and set --localstatedir=${DB_DIR} instead of --localstatedir=/var/db/mysql