按类别查询搜索结果
关于关键词 "MongoDB" 的检测结果,共 4
xidcs | 2015-06-10 22:28:16 | 阅读(60) | 评论(0)
最近遇到服务器迁移,增加了mongodb的权限认证,所以导致之前的程序不能正确的执行,特意查看了相应的api 1. java连接mongodb MongoClient mongoClient; MongoCredential credential = MongoCredential.createCredential("user", "database", password); mongoClient = new MongoClient(new ServerAddress(ip, port), Arrays.asList(cre【阅读全文】
yueys_canedy | 2015-06-09 10:36:58 | 阅读(2760) | 评论(1)
最近遇到服务器迁移,增加了mongodb的权限认证,所以导致之前的程序不能正确的执行,特意查看了相应的api 1. java连接mongodb MongoClient mongoClient; MongoCredential credential = MongoCredential.createCredential("user", "database", password); mongoClient = new MongoClient(new ServerAddress(ip, port), Arrays.asList(cr【阅读全文】
yagamiLight1 | 2015-04-03 14:14:45 | 阅读(90) | 评论(0)