tpope / vim-dadbod

dadbod.vim: Modern database interface for Vim
https://www.vim.org/scripts/script.php?script_id=5665
3.73k stars 132 forks source link

E605: Exception not caught: DB: no adapter for postgre #182

Closed yakiza closed 3 months ago

yakiza commented 3 months ago

After Instaling dadod with lazy and launching the DBUI, proceding to Adding New Connection to my postgresql db I get the following error:

E605: Exception not caught: DB: no adapter for postgre

The connection link looks like this postgres://postgres:{my password}@localhost:5432/mydb I have verified via netstat that the database is indeed running on the port 5432,

My configuration is the one provided on the github by TJ

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

tpope commented 3 months ago

postgre? You have a typo.