changed default mongo auth mechanism
This commit is contained in:
parent
c17361fbda
commit
19945a9dd9
|
@ -63,7 +63,7 @@ def data_to_valdb(sentence_generator, dbaddr, username, password, collection_nam
|
|||
username=username,
|
||||
password=password,
|
||||
authSource="valdb",
|
||||
authMechanism='SCRAM-SHA-256'
|
||||
authMechanism='SCRAM-SHA-1'
|
||||
)
|
||||
valdb = client.valdb
|
||||
logger.info("Writing data to {}.".format(collection_name))
|
||||
|
|
Loading…
Reference in New Issue
Block a user