ports/79597: databases/mysql323-server does not find my.cnf if not placed in /var/db/mysql/

Vasil Dimov vd at datamax.bg
Thu Apr 7 10:55:35 UTC 2005


On Thu, Apr 07, 2005 at 11:24:37AM +0200, Alex Dupre wrote:
> I'm thinking about adding something like:
> 
> --defaults-file=${PREFIX}/etc/my.cnf 
> --defaults-extra-file=${mysql_dbdir}/my.cnf
> 
> to the mysql startup script. This should fix your problem and make mysql 
> prefix clean. Comments?
> 
> --
> Alex Dupre

--defaults-extra-file=${mysql_dbdir}/my.cnf is just perfect.

What do you meen by ${PREFIX}? It is not set while mysql-server.sh
is executing. Do you meen port's install perfix and therefore
/usr/local/etc/my.cnf or something like /var/db/mysql/etc/my.cnf or
just /etc/my.cnf?

It seems that --defaults-file= and --defaults-extra-file= cannot
be passed as arguments to the mysql server at the same time. So we
should probably use only --defaults-extra-file?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20050407/5aab660b/attachment.sig>


More information about the freebsd-ports-bugs mailing list