Comments (5)
The error message says 'could not establish the connection'.
If the DB hostname is indicated by localhost
at URI, the perl DBI uses the domain socket to connect.
In some environments, it fails because of inconsistency of the domain socket path between the server and drivers.
Will you try following URI?
DBI:mysql:(database name):127.0.0.1
from emacs-edbi.
Thanks. I think I was able to login. However, my dbviewer buffer shows "No tables." There should be many tables.
Am I doing something wrong? Thanks.
from emacs-edbi.
It seems #16 may affect the problem. Now the bug was fixed.
Will you try update edbi.el and ctable.el?
I'm sorry for trouble you.
from emacs-edbi.
great. works now.
I must say that dbi:mysql:dbname:server is a little odd. I think dbi:mysql:server:dbname is more intuitive (largest to smallest).
will continue to test out. looks solid based on what I've seen so far. I feel I finally have a universal sql client in emacs now. No need to use multiple clients and get confused changing from one to another.
from emacs-edbi.
Thank you for your confirmation! I'm glad to know that you like edbi.
The data source name comes from perl's DBI module.
You can use any syntax according to the document:
http://search.cpan.org/~timb/DBI/DBI.pm#connect
(Yes. I think the syntax is not familiar too...)
from emacs-edbi.
Related Issues (20)
- Unable to save query editor file content to file. HOT 9
- can you remove auto-complete dependency? HOT 8
- Is it possible to store the connection details? HOT 1
- How configure edbi to stay in the query window? HOT 8
- Change the window-title edbi:query-result without number HOT 1
- Multiple queries possible? HOT 2
- Can't install from melpa-stable HOT 3
- No rows shown in result for SQL Server query with ntext column
- I can't connect mysql database HOT 1
- Query returns nil when value is 0
- A way to connect to other not SQL dbs?
- add two tips HOT 1
- Cannot open a sqlite database that has been created using WAL mode HOT 2
- make emacs-edbi aware of local::lib installations of RPC::EPC::Service and DBI modules HOT 2
- Selected row colors in Emacs dark modes?
- Quoting tables
- Does your library have functions for reading columns directly from the sql results into elisp? HOT 1
- Add connection bookmarks/names
- Export the query results
- Query execute does not return?
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 emacs-edbi.