Skip to content

Lua mysql client and server toolset still in its early stages of development.

Notifications You must be signed in to change notification settings

huangnauh/lua-resty-mysql-toolset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

work-in-progress

Name

lua-resty-mysql-toolset - Lua mysql client and server toolset based on openresty/lua-resty-mysql

Table of Contents

Status

This library is still in its early stages of development.

Synopsis

stream {
    server {
        -- mysql proxy listen on 1234
        -- user: runner
		-- password: runner123456
        listen 1234;
        content_by_lua_block {
        	local proxy = require "resty.mysql.proxy"
			local conn, err = proxy:new({user="runner", password="runner123456"})
			if err then
			    return
			end
			err = conn:handshake()
			if err then
			    return
			end
			conn:process()
        }
    }
}

About

Lua mysql client and server toolset still in its early stages of development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published