On 4/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On Mon, Apr 24, 2006 at 10:42:38AM +0100, Mark Cullen wrote:
> > Is there some way to change what version of MySQL the php-mysql
> > extension uses? It wants to use MySQL 5, but I would actually like to
> > stick with using MySQL 4 for now, if possible! I looked around a bit but
> > couldn't seem to find any options anywhere.
>
> MYSQL_VERSION_DEFAULT=41 should do the trick.
>
> Joerg
>

I love you too, GMail. This was my message (brutally murdered by GMail):

---

>From /usr/pkgsrc/mk/mysql.buildlink3.mk:

MYSQL_VERSION_DEFAULT?=     50
MYSQL_VERSIONS_ACCEPTED?=   50 41

I would just set MYSQL_VERSION_DEFAULT=41 in /etc/mk.conf. I haven't
*tested* this, since I abhor both PHP and MySQL, but pkgsrc is so
disturbingly flexible I wouldn't be surprised if that's all it takes.

  -- Dmitri Nikulin

Reply via email to