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

SQL Server: executable not found #176

Closed marazza-dev closed 5 months ago

marazza-dev commented 5 months ago

Hello, first of all thank you for the amazing work! It looks like since this commit I cannot get a connection with sql server, before that I had no issues.

sqlcmd is available and connects me to the db with the same connection string.

My connection string: sqlserver://User:pass-123-!@sql.database.windows.net:1433/dbname

This is the command output:

['env', 'SQLCMDPASSWORD=pass-123-!', 'sqlcmd', '-S', 'sql.database.windows.net,1433', '-U', 'User', '-d', 'dbname']

Thank you in advance

kristijanhusak commented 5 months ago

Similar thing reported here https://github.com/kristijanhusak/vim-dadbod-ui/issues/247