I was trying out this 
<http://www.web2pyslices.com/slice/show/1580/save-the-earth-from-a-total-data-mess-with-mongodbadapter#comment_1420>
 example, 
not sure whether its outdated, 


but got this errors:

le "/usr/local/lib/python3.6/dist-packages/pymongo/helpers.py", line 155, in 
_check_command_response
 raise OperationFailure(msg % errmsg, code, response)
pymongo.errors.OperationFailure: Authentication failed.

*this was my db line:*

*db = DAL("mongodb://mwakewaka: 
blahblaha123**@ds123456.mlab.com:1257467/testriver", 
check_reserved=["mongodb_nonreserved",],  adapter_args={"safe":False})*

However I not that this connection with localhost is ok.


db = DAL('mongodb://localhost/queellness')

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/c71468e7-2f20-4822-bec9-e5f3ab8f963d%40googlegroups.com.

Reply via email to