摘要:
1.通过ps -ef|grep mongod找到mongodb的配置文件mongod.conf 将security:authorization: enabled注释 2.重启mongod systemctl restart mongod 3.登录mongo use admin db.system.u 阅读全文
摘要:
data = json.loads(request.body)for key in data: try: data[key] = data[key].encode('ascii').decode('unicode_escape') # 针对发过来的'\\u5e7f\\u5dde\\u5e02\\u5 阅读全文