Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
mongos login problem
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
超 王  
View profile  
 More options Apr 27 2012, 6:28 am
From: 超 王 <wangchao0...@gmail.com>
Date: Fri, 27 Apr 2012 03:28:26 -0700 (PDT)
Local: Fri, Apr 27 2012 6:28 am
Subject: mongos login problem
see blew. use auth it work. and use "-u -p" it sometimes do not
work.....

# /root/mongodb-linux-i686-2.0.4/bin/mongo admin -u sa -p
MongoDB shell version: 2.0.4
Enter password:
connecting to: admin
Fri Apr 27 18:25:32 uncaught exception: login failed
exception: login failed
# /root/mongodb-linux-i686-2.0.4/bin/mongo admin
MongoDB shell version: 2.0.4
connecting to: admin

> db.auth('sa','sa');

1
mongos>
bye

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Matulef  
View profile  
 More options Apr 27 2012, 12:26 pm
From: Kevin Matulef <matu...@10gen.com>
Date: Fri, 27 Apr 2012 09:26:36 -0700 (PDT)
Local: Fri, Apr 27 2012 12:26 pm
Subject: Re: mongos login problem

It coudl be an issue with how the password is parsed in the shell vs the
interactive login.  If there are spaces in the password it could be related
to this issue here (which has been fixed in 2.1.0):

https://jira.mongodb.org/browse/SERVER-3969

-Kevin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
超 王  
View profile  
 More options Apr 29 2012, 6:14 am
From: 超 王 <wangchao0...@gmail.com>
Date: Sun, 29 Apr 2012 03:14:37 -0700 (PDT)
Local: Sun, Apr 29 2012 6:14 am
Subject: Re: mongos login problem
thank you . so at now time.i can just use auth function to work it
well :)

On 4月28日, 上午12时26分, Kevin Matulef <matu...@10gen.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »