libdrizzle mysql_OpenResty

This is an nginx upstream module that talks to MySQL and/or Drizzle database

servers by libdrizzle.

This ngx_drizzle module is not enabled by default. You should specify the --with-http_drizzle_module optiotn

while configuring OpenResty.

The libdrizzle C library is no longer bundled by OpenResty.

You need to download the drizzle server tarball from https://launchpad.net/drizzle.

When you get the drizzle7 release tarball, you can install libdrizzle-1.0 like

this:

tar xzvf drizzle7-VERSION.tar.gz

cd drizzle7-VERSION/

./configure --without-server

make libdrizzle-1.0

make install-libdrizzle-1.0

where VERSION is the drizzle7 release version number like 2011.06.20.

Please ensure that you have the python command point to a python2 interpreter.

It's known that on recent Arch Linux distribution, python is linked to python3 by

default, and while running make libdrizzle-1.0 will yield the following error:

File "config/pandora-plugin", line 185

print "Dependency loop detected with %s" % plugin['name']

^

SyntaxError: invalid syntax

make: *** [.plugin.scan] Error 1

You can fix this by pointing python temporarily to python2.

When you install the libdrizzle-1.0 library to a custom path prefix, you can

specify the libdrizzle prefix to OpenResty like this:

cd /path/to/ngx_openresty-VERSION/

./configure --with-libdrizzle=/path/to/drizzle --with-http_drizzle_module

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值