tpope/vim-dadbod

DB: 'env' executable not found

MarcoBuess opened this issue · 4 comments

Getting above error when trying to connect to a mssql database using :DB sqlserver://. sqlcmd is available in path. Hints in any direction are highly appreciated. Cheers!

OS: Windows 10 (10.0.19045)
Shell: shell=pwsh.exe
Editor: nvim v0.9.1

The issue comes from this commit:
15c0832

If you restore vim-dadbod to the previous commit, you should be able to connect to your database.

tpope commented

Fixing would require adopting the use of the env options to job_start() and jobstart(). As a partial workaround, I've avoided calling env if there isn't a password.

It is working thanks for the quick fix.

Can confirm its working. Tyvm ❤️