openresty / lua-resty-mysql

Nonblocking Lua MySQL driver library for ngx_lua or OpenResty
708 stars 236 forks source link

create_db, create_user, grant and switch_user #101

Closed buster1253 closed 4 years ago

buster1253 commented 4 years ago

Hi, I require the ability to connect to the server, create a database, create a user and grant x permissions on the new db and then switch to the new user. As I'm going to be implementing this I thougth I would ask if you would care to accept a pull request with those features or if it's not something you feel is needed.

I'll start working on it during the coming weekend/week, so a quick response would be appreciated.