SouthbankSoftware / dbkoda

State of the art MongoDB IDE
https://www.dbkoda.com
GNU Affero General Public License v3.0
870 stars 43 forks source link

Error: Create shell connection failed. Mongo binary might be corrupted. #22

Closed IceApriler closed 6 years ago

IceApriler commented 6 years ago

system: osx version: v1.0.0

i had set mongo binary path. image however it still error. why? image mongo is no problem from the command. image

i need you help, thanks very much.

progress-mei commented 6 years ago

我也碰到这种情况,同寻求解答

progress-mei commented 6 years ago

image

guiguan commented 6 years ago

@april-1993 @progress-mei 你们的cat ~/.dbKoda/config.yml是什么?

配置好mongoCmd以后,我的config.yml是这个样子的,连接正常

screen shot 2018-07-04 at 6 16 30 pm
IceApriler commented 6 years ago

@guiguan 不好意思😅,貌似没注意到关于这个issue的邮件,我 cat ~/.dbKoda/config.yml后是下面这样的。

user:
  id: TX_cbAAQ9naTlfF7vRKQX
mongoCmd: /usr/local/mongodb/bin/mongo
drillCmd: null
drillControllerCmd: null
mongoVersionCmd: null
mongoexportCmd: null
mongoimportCmd: null
mongodumpCmd: null
mongorestoreCmd: null
telemetryEnabled: true
showNewFeaturesDialogOnStart: true
tableOutputDefault: true
automaticAutoComplete: true
showWelcomePageAtStart: true
passwordStoreEnabled: false
dockerEnabled: false
docker:
  createNew: true
  imageName: ''
  containerID: ''
  hostPath: ''
  containerPath: ''
  mongoCmd: docker run -it --rm  mongo
  mongorestoreCmd: docker run --rm  mongorestore
  mongodumpCmd: docker run --rm  mongodump
  mongoexportCmd: docker run --rm  mongoexport
  mongoimportCmd: docker run --rm  mongoimport
  mongoVersionCmd: docker run  mongo --version
performancePanel:
  preventDisplaySleep: false
  metricSmoothingWindow: 6
  foregroundSamplingRate: 5000
  backgroundSamplingRate: 15000
  historySize: 720
  historyBrushSize: 30
  alarmDisplayingWindow: 60000
maxOutputHistory: 1000
guiguan commented 6 years ago

@IceApriler still not sure what caused your issue. Could you please try the 1.1 beta build: https://github.com/SouthbankSoftware/dbkoda/releases/tag/1.1rc9?

IceApriler commented 6 years ago

@guiguan Perfect operation! image

But, I must first execute sudo ./mongod to open the service before using it. Is this normal operation?

guiguan commented 6 years ago

I think your sudo ./mongod is to create a local mongodb instance. dbKoda is a mongo client that you can use to connect any mongo instances, either local or remote ones.

IceApriler commented 6 years ago

@guiguan Ok, brother, thank u very much.