bigplum / lua-resty-mongol

A ngx_lua driver for mongodb -- Deprecated for not updating with the mongodb version
198 stars 67 forks source link

auth 失败 #50

Open xhw180com opened 8 years ago

xhw180com commented 8 years ago

你好,我在安装的openresty,添加mongol的库文件到resty,在连接mongol成功后,鉴权总是失败,检查账号密码没有问题,鉴权这里是不是代码有bug,希望可以改进。

xhw180com commented 8 years ago

hello,copy that you can't understand chinese, i must say it again. when i success connected mongol , i always failuer in authentication, i ensure the acconut and password are all right, so ,can you test this function for me ? thank you !

bigplum commented 8 years ago

是不是mongo的版本不兼容? 我只测试过2.4、2.6,以后的版本就没测过了

在 2016/5/24 15:04, xhw180com 写道:

hello,copy that you can't understand chinese, i must say it again. when i success connected mongol , i always failuer in authentication, i ensure the acconut and password are all right, so ,can you test this function for me ? thank you !

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/bigplum/lua-resty-mongol/issues/50#issuecomment-221183777

xhw180com commented 8 years ago

大神可否留个qq,加我的也好1622636953,问题随便写就好。

xhw180com commented 8 years ago

能否用lua开发一个3.2版本的mongol,这个版本的mongol比2.6的性能提升很大。

xhw180com commented 8 years ago

尊敬的开发者,能不能维护一下代码,让这套代码能用在最新3.2的版本mongol上,目前就是知道鉴权的环节没有成功,我是维护不了,又很着急,麻烦你了

xhw180com commented 8 years ago

尊敬的开发者,能不能维护一下代码,让这套代码能用在最新3.2的版本mongol上,目前就是知道鉴权的环节没有成功,我是维护不了,又很着急,麻烦你了

xhw180com commented 8 years ago

尊敬的开发者,能不能维护一下代码,让这套代码能用在最新3.2的版本mongol上,目前就是知道鉴权的环节没有成功,我是维护不了,又很着急,麻烦你了

xhw180com commented 8 years ago

重要的事情说三遍。

westzbo commented 8 years ago

我也遇到同样的问题啊,开发者都不维护这个版本了吗?

xhw180com commented 8 years ago

好像不维护了,2.4, 2.6的版本可以用鉴权

在 2016-10-14 09:47:55,"westzbo" notifications@github.com 写道:

我也遇到同样的问题啊,开发者都不维护这个版本了吗?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

westzbo commented 8 years ago

偶然发现有mongo3.0版本的了 https://github.com/LuaDist2/lua-resty-mongol3

db_conn:auth_scram_sha1(username, password)

跟lua-resty-mongol用法基本一样的,多了很多3.0的操作