|
@@ -29,12 +29,12 @@ if (!windows) {
|
|
|
|
|
|
Mapper.connect(connMap, {verbose: false, strict: false});
|
|
Mapper.connect(connMap, {verbose: false, strict: false});
|
|
var World = Mapper.map("World", "id", "randomNumber")
|
|
var World = Mapper.map("World", "id", "randomNumber")
|
|
- libmysql.connectSync('127.0.0.1', 'benchmarkdbuser', 'benchmarkdbpass', 'hello_world');
|
|
|
|
|
|
+ libmysql.connectSync('localhost', 'benchmarkdbuser', 'benchmarkdbpass', 'hello_world');
|
|
}
|
|
}
|
|
|
|
|
|
var collection = null;
|
|
var collection = null;
|
|
|
|
|
|
-MongoClient.connect('mongodb://127.0.0.1/hello_world?maxPoolSize=5', function(err, db) {
|
|
|
|
|
|
+MongoClient.connect('mongodb://localhost/hello_world?maxPoolSize=5', function(err, db) {
|
|
collection = db.collection('world');
|
|
collection = db.collection('world');
|
|
});
|
|
});
|
|
|
|
|