Hi,
I have installed the Ubiquiti Unifi controler on our server a year ago..
I have been asked for some info that is store in the DB but I cannot figure out how to access the database..
I tried
How do find out the name of the databases installed?
I am trying to export my user stats to CSV as per this forum
I have installed the Ubiquiti Unifi controler on our server a year ago..
I have been asked for some info that is store in the DB but I cannot figure out how to access the database..
I tried
mongo show dbs
and got
Code:
MongoDB shell version: 2.6.12
connecting to: show
2017-03-09T14:01:18.556+0000 warning: Failed to connect to 127.0.0.1:27017, reason: errno:61 Connection refused
2017-03-09T14:01:18.557+0000 Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed at src/mongo/shell/mongo.js:146
exception: connect failed
I am trying to export my user stats to CSV as per this forum
After getting the right port and knowing which DB to connect to MongoVUE worked a charm. Exporting to CSV works better with MongoVue than with the other option.
For anyone else who is struggling with this the settings I used in the end:
Name: UnifiDB
Server: localhost
Port: 27117
Username:
Password:
Database(s): ace,ace_stat