Date: Thu, 7 Apr 2005 13:55:32 +0300 From: Vasil Dimov <vd@datamax.bg> To: freebsd-ports-bugs@FreeBSD.org, Alex Dupre <ale@FreeBSD.org> Subject: Re: ports/79597: databases/mysql323-server does not find my.cnf if not placed in /var/db/mysql/ Message-ID: <20050407105532.GA24882@sinanica.bg.datamax> In-Reply-To: <4254FC55.9050805@FreeBSD.org> References: <200504062254.j36MsUTX077449@freefall.freebsd.org> <4254FC55.9050805@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 07, 2005 at 11:24:37AM +0200, Alex Dupre wrote: > I'm thinking about adding something like: >=20 > --defaults-file=3D${PREFIX}/etc/my.cnf=20 > --defaults-extra-file=3D${mysql_dbdir}/my.cnf >=20 > to the mysql startup script. This should fix your problem and make mysql= =20 > prefix clean. Comments? >=20 > -- > Alex Dupre --defaults-extra-file=3D${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=3D and --defaults-extra-file=3D cannot be passed as arguments to the mysql server at the same time. So we should probably use only --defaults-extra-file? --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFCVRGkFw6SP/bBpCARAmd0AJ0RhThav8R2wpOOAH1QYP2JGeLinQCfWQyH lXa3ZxW5xBBrRG+habhCjrE= =X6oA -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050407105532.GA24882>