agentzh/lua-resty-mysql — pull request #1 by smallfish (2012-10-24 03:46:47+00:00)
Title: add resty.mysql:connect support dsn string

Example:

local ok, err, errno, sqlstate = db:connect{
dsn="host=127.0.0.1;port=3306;database=ngx_test;user=ngx_test;password=ngx_test",
max_packet_size = 1024 * 1024
}