Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2007 04:02:02 +0400
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        "Scot Hetzel" <swhetzel@gmail.com>
Cc:        David Southwell <david@vizion2000.net>, freebsd-ports@freebsd.org
Subject:   Re: www/trac with mysql
Message-ID:  <20070519040202.9522336f.stas@FreeBSD.org>
In-Reply-To: <790a9fff0705181018ya6ec0e2w1ff8a378bff97e61@mail.gmail.com>
References:  <200705180948.20172.david@vizion2000.net> <790a9fff0705181018ya6ec0e2w1ff8a378bff97e61@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Sat__19_May_2007_04_02_02_+0400_2PEHsxKw/yJbZ7=7
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Fri, 18 May 2007 12:18:31 -0500
"Scot Hetzel" <swhetzel@gmail.com> mentioned:

> On 5/18/07, David Southwell <david@vizion2000.net> wrote:
> > Hi
> >
> > How do I configure trac to use  mysql rather than sqlite??
> >
> You'll need to make the following changes to the ports Makefile:
>
> 1. Add `MYSQL	   "Use MySQL instead of SQLite3" Off \' to OPTIONS
>
> 2. Make the following change to the database selection code:
>
> .if defined(WITH_PGSQL)
> RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/psycopg2/__init__.py:${PORTSDIR}/databases/py-psycopg2
> .elif defined(WITH_MYSQL)
> RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb
> .else
> RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite20
> .endif
>
> NOTE: the trac website says that MySQL support is experimental.
>

What about submitting the patch?

--
Stanislav Sedov
ST4096-RIPE

--Signature=_Sat__19_May_2007_04_02_02_+0400_2PEHsxKw/yJbZ7=7
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGTj56K/VZk+smlYERAmKOAJ4rCarrmb+vrls5E8/6tGlkH5AIjwCfRBHp
jleutKpK9woMI7UmWSBHfoI=
=u/9U
-----END PGP SIGNATURE-----

--Signature=_Sat__19_May_2007_04_02_02_+0400_2PEHsxKw/yJbZ7=7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070519040202.9522336f.stas>