openresty / lua-resty-mysql

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

fix: fallback to default auth plugin if server doesn't have plugin auth #117

Closed fffonion closed 3 years ago

fffonion commented 3 years ago

capability

This patch fixes the compatibility with server that doesn't have PLUGIN_AUTH capability. The behaviour is now same as clients like the mysql-python-connector