Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB: no adapter for jdbc #295

Open
aladinoster opened this issue Dec 7, 2024 · 0 comments
Open

DB: no adapter for jdbc #295

aladinoster opened this issue Dec 7, 2024 · 0 comments

Comments

@aladinoster
Copy link

Hi,
Thanks before hand for this plugging! I managed to make it work on one of my linux machines. Now I am trying to make it work within my Mac and found out this error:

Error executing Lua callback: .../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:48: function db_ui#open[1]..<SNR>53_init[2]..1[25]..3[10]..4[35]..15[10]..db#adapter#call[1]..<SNR>56_fnname
[1]..<SNR>56_prefix, line 20: DB: no adapter for jdbc
stack traceback:
        [C]: in function 'cmd'
        .../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:48: in function <.../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:16>

This is my current configuration via Lazy:

return {
	"kristijanhusak/vim-dadbod-ui",
	dependencies = {
		{ "tpope/vim-dadbod", lazy = true },
		{ "kristijanhusak/vim-dadbod-completion", ft = { "sql", "mysql", "plsql", "duckdb" }, lazy = true }, -- Optional
	},
	cmd = {
		"DBUI",
		"DBUIToggle",
		"DBUIAddConnection",
		"DBUIFindBuffer",
	},
	init = function()
		-- Your DBUI configuration
		vim.g.db_ui_use_nerd_fonts = 1

	end,
	config = function()
		vim.keymap.set("n", "<leader>D", ":DBUI<CR>", { noremap = true, silent = true })
	end,
}

I am mainly interested in using duckdb, any help would be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant