[!! SPAM] Re: Emulate mod_auth_mysql in nginx?

Igor Sysoev is at rambler-co.ru
Mon Mar 16 15:27:04 MSK 2009

On Mon, Mar 16, 2009 at 01:19:20PM +0100, Manlio Perillo wrote:

> Igor Sysoev ha scritto:
> >[...]
> >>If you really want to use a database as a backend, you should use 
> >>PostgreSQL, since libpq offer an async interface; and you should use a 
> >>stored procedure for the authentication.
> >
> >Yes, you right. However, I have almost ready async mysql interface for 
> >nginx,
> >that can be used here.
> Written from scratch, implementing the MySQL wire protocol?


> By the way, after having implemented a pure PostgreSQL client in Python, 
> I tried to do the same with MySQL; but protocol design is very bad, 
> compared to PostgreSQL, so I gave up; it does not make sense to waste 
> time with MySQL, IMHO,

It's already wasted :). The reamining part is parsing mysql response.

Igor Sysoev

More information about the nginx mailing list