Comments (4)
Do you have psql
installed? Sounds like you need to install it.
from vim-dadbod.
I have the same issue using MySQL, trying to connect to DB on Docker, exposing default port. If I am to install mysql
on my machine, the service will get conflicted.
from vim-dadbod.
You only need the client, not the server. Or you can install both and disable the server.
from vim-dadbod.
You only need the client, not the server. Or you can install both and disable the server.
I was also having trouble with a docker container
(but mysql
)...
Installing just the mysql-client
as instructed by @tpope almost worked for me.
I then got the error below:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
which was resolved by using 127.0.0.1
instead of localhost
in the connection string.
The weird thing is that my /etc/hosts already had the mapping:
โฏ cat /etc/hosts
127.0.0.1 localhost
Perhaps the plugin could do some magic to use IP when localhost is provided.. but I have no idea if this would the better or worse for most people... ๐คจ
I hope this helps!
from vim-dadbod.
Related Issues (20)
- Change MySQL Command To 'mariadb' HOT 4
- credentials
- Disable echo HOT 2
- token password for MySQL server HOT 1
- DB: 'env' executable not found HOT 4
- Support for Cassandra adapter?
- Can't connect to LocalDB using sqlserver adapter HOT 1
- mssql support for azure ad auth (`sqlcmd -G`) HOT 8
- URL regex/format HOT 1
- DB: 'env' executable not found HOT 6
- Unable to start interactive session HOT 2
- [Windows] DB: 'env' executable not found HOT 1
- MySQL: LAST_INSERT_ID() returns 0
- Firebird
- Postgres not connecting on non-default port HOT 1
- How can I add my own data sources? XML, JSON, csv, tsv, and so on comes to mind
- AWS Athena adapter
- Authentication error on credentials with the character '#' HOT 1
- DB connection via URI does not work when password contains &]~^ symbols HOT 6
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.