jision / rock-php

Automatically exported from code.google.com/p/rock-php
0 stars 0 forks source link

Try to configure it to use MongoHQ.com - Default 'admin' DB Issue #120

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Try to configure it to use MongoHQ.com

What is the expected output? What do you see instead?

MongoDB connection exception: connecting to 
mongodb://user:pass@flame.mongohq.com:27074 failed: Couldn't authenticate with 
database admin: username [user], password [pass]. Please check your 
configuration.

Please provide any additional information below.

By default it select the 'admin' DB, when in MongoHQ the DB is a diferent one.. 
don't know how to make another DB the default DB

Original issue reported on code.google.com by sebi...@gmail.com on 18 Mar 2011 at 2:14

GoogleCodeExporter commented 8 years ago
Thank you for feedback, we will check it later.

Original comment by iwind....@gmail.com on 18 Mar 2011 at 5:58

GoogleCodeExporter commented 8 years ago
Thank you for the great tool you build for MongoDB! It's an amazing UI!

Original comment by sebi...@gmail.com on 18 Mar 2011 at 12:14

GoogleCodeExporter commented 8 years ago
In the port setting, add it to the end, like this
"port" => "27017/YouDatabaseName"

Original comment by danieljn...@gmail.com on 23 Mar 2011 at 6:12

GoogleCodeExporter commented 8 years ago
fixed in svn, svn://ifphp.cn/rockmongo

Original comment by iwind....@gmail.com on 10 Apr 2011 at 12:49

GoogleCodeExporter commented 8 years ago
I've pulled from SVN with no luck on this issue... Do I need to do anything in 
particular to make it work?

Original comment by dan...@ziplinegames.com on 11 Apr 2011 at 11:16

GoogleCodeExporter commented 8 years ago
give me your configuration

Original comment by iwind....@gmail.com on 12 Apr 2011 at 1:09

GoogleCodeExporter commented 8 years ago
Check out v1.1 configuration here: 
http://code.google.com/p/rock-php/wiki/configuration 

Original comment by iwind....@gmail.com on 12 Apr 2011 at 5:15

GoogleCodeExporter commented 8 years ago
Okey, i added mongo_db option to specify a default database that users should 
log-in, this should works nice in your condition.

Original comment by iwind....@gmail.com on 14 Apr 2011 at 3:54

GoogleCodeExporter commented 8 years ago
Here are examples to connect your mongodb located on MongoHQ:
http://code.google.com/p/rock-php/wiki/configuration#Configuration_for_MongoHQ

Original comment by iwind....@gmail.com on 15 Apr 2011 at 4:15

GoogleCodeExporter commented 8 years ago
The issue should be fixed in v1.1.0, so i have to close it.

Original comment by iwind....@gmail.com on 24 Apr 2011 at 11:29