Comments (6)
I'm not an lua programmer but this is the place where the filetype of the db which is used for the new buffers defaults to sql correct?
from vim-dadbod-ui.
could you please help me with my problem?
I'm running mongodb with docker, from offical mongodb image.
I can connect to this db with studio3t
But when i'm tring to connect to this db with DBUI i have error "Error connecting to db mongo: 'mongosh' executable not found"
My url is: mongodb://localhost:27017 (this url also in studio3t)
Looked to google, can't find answer.
Where is my problem? Thanks
from vim-dadbod-ui.
Hi @BioWare. You need to install the mongosh. If you use ubuntu, you can follow this steps:
- sudo apt-get install gnupg curl
- curl -fsSL https://pgp.mongodb.com/server-7.0.asc |
sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg
--dearmor - sudo touch /etc/apt/sources.list.d/mongodb-org-7.0.list
- echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
- sudo apt-get update
- sudo apt install mongodb-mongosh
from vim-dadbod-ui.
Hi @BioWare. You need to install the mongosh. If you use ubuntu, you can follow this steps:
- sudo apt-get install gnupg curl
- curl -fsSL https://pgp.mongodb.com/server-7.0.asc |
sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg
--dearmor- sudo touch /etc/apt/sources.list.d/mongodb-org-7.0.list
- echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
- sudo apt-get update
- sudo apt install mongodb-mongosh
Hello @gusilva thanks for your answer.
So even if im using docker i have to install mongosh localy right?
from vim-dadbod-ui.
@BioWare, I suppose you use a docker container to provide a MongoDB server. That being said, to connect to this MongoDB container, you need a Mongo client. Dadbod uses mongosh or mongo, which should be installed in the environment where your nvim is running. Studio3T has its Mongo client packaged with its program, that's why you are able to connect via Studio3T to the MongoDB container.
from vim-dadbod-ui.
@BioWare, I suppose you use a docker container to provide a MongoDB server. That being said, to connect to this MongoDB container, you need a Mongo client. Dadbod uses mongosh or mongo, which should be installed in the environment where your nvim is running. Studio3T has its Mongo client packaged with its program, that's why you are able to connect via Studio3T to the MongoDB container.
got it. Thanks for your help
from vim-dadbod-ui.
Related Issues (20)
- Are there any options for "edit current entry" when browsing the result of a query?
- Duplicate tag "ic"
- Move Buffer output dropdown to respective database
- Show connection string of database HOT 1
- Oracle database not opening up properly HOT 16
- bind parameter delimiter config HOT 2
- Change `search_path` for session duration?
- Unable to connect using password with special characters HOT 15
- Feature Request: Change result buffer, save, propagate changes to db HOT 2
- Display relation description in dadbod-ui ? HOT 3
- JOIN not working with SQL Server HOT 2
- Table names truncated at 20 characters for oracle HOT 2
- <C-]> tries to go to auth.users
- Error connecting to db local:DB:'mysql'executable not found HOT 4
- Single row tables aren't getting printed out in MariaDB (same as MySQL but on Linux)
- List stored procedures and functions HOT 2
- No output for sqlserver
- Unable to connect to MSSQL server using vim-dadbod-ui HOT 4
- Oracle Schemas ORA-00904 "COMMON" Error HOT 1
- mysql encoding HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-dadbod-ui.