I can't connect to the mongo server with the username and password
code like this:
$().open(host,port);
$('myDb.$cmd').auth(username,password);
which dosn't work
while i can connect to it successfully with mongodb://username:password@host:port/myDb with the mongo-native lib.