MongoDB Invalid credentials for database

Source: Internet
Author: User
Tags mongodb driver

Before all good, the result server database added a verification, check, also not complicated, as long as the connection string a change on the line.

Results, constant error--invalid credentials for database

Looking for a long reason, originally I used the version of MongoDB driver is 1.7.0, and the server encryption, the low version of the encryption method is not supported.

Download the latest version from the website 2.4.4, die or die, can only from Csdn down a 2.4.2, the result of my vs2005 not loaded, really lazy to upgrade vs, in Python test a bit, three lines of code, smooth fix.

Almost laugh and cry, VS, it is time to consider giving up.

MongoDB Invalid credentials for database

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.