Comments (3)
@kndndrj Ah, ok, great, thank you ❤️
So the correct format for MySQL seems to be (for my non-standard 13306 port):
{
name = "whatever - refers to the connection, not the database",
type = "mysql",
ulr = "user:pass@tcp(0.0.0.0:13306)/mydbname"
}
Things that are unusual about the url
field compared to other DSNs:
- there's no
mysql://
at the start - you need
tcp(...)
wrapping the address field. I think (untested) you'd needunix(...)
for a socket.
The other thing that's noticable - may be a separate issue? - is that once you're 'in', the drawer shows:
(connection name) » structure » all databases
and allows you to toggle-open any database. But then you can't look at any tables in those databases because it says they don't exist in mydbname
specified in the connection. It seems odd to show stuff that can't be accessed and it would be cleaner to show the selected/filtered/limited mydbname as selected/opened somehow.
Anyway, thanks, I'm set up now and will continue testing.
from nvim-dbee.
Hey, I'm not sure if url is correct or not, but can you please refer to mysql go driver's readme and check if they use some sort of special naming? https://github.com/go-sql-driver/mysql#dsn-data-source-name
Please try it and let me know if it helped :)
from nvim-dbee.
url = "user:pass@tcp(0.0.0.0:13306)/mydbname"
This doesn't seem to work anymore. The client now attempts to parse it as an actual URL, and it's not a valid url:
from nvim-dbee.
Related Issues (20)
- CSV yanks only part of the data HOT 2
- dbee not found after add the plugin by lazy HOT 4
- [Feature] Nvim Tree integration HOT 3
- Health command not functioning properly
- Dbee ui toggle throws error HOT 10
- Can't see error output for failed queries? HOT 1
- Some postgresql statements don't have output
- [postgres] too many clients already HOT 2
- Feature request: database helpers HOT 1
- [bigquery] Cannot finish fetching results with BigQuery resource HOT 1
- Feature request: disconnect from active connection HOT 4
- [Bug] Doc issue; Duplicate "DefaultLayout" HOT 3
- [Help wanted] "dbee" command not found HOT 6
- show column number on `relativenumber` options HOT 2
- [postgres] no output when executing some statements inside of transaction block HOT 3
- Doesn't work with packer and LunarVim HOT 2
- Clickhouse Nullable columns in result window HOT 2
- timeout for executing queries HOT 1
- PostgreSQL commands not working HOT 3
- DrawerUI is broken on windows HOT 5
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 nvim-dbee.