Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dbext connection string for sql-server

Tags:

sql

vim

I have dbext installed into gVim - the plugin menu is visible and the help file are accessible; just not helping at the moment!

Suspect it is a connection string problem. I have the following in _vimrc:

" Microsoft SQL Server
let g:dbext_default_profile_WH = 'type=SQLSRV:user=profileName:passwd=profilePassword:dsnname=SQLOLEDB.1:srvname=imsname'

Is this correct?: dsnname=SQLOLEDB.1

like image 407
whytheq Avatar asked Nov 02 '22 22:11

whytheq


1 Answers

Here is my working connection string configuration

let g:dbext_default_profile_mydb = 'type=SQLSRV:user=sa:passwd=password:srvname=localhost\SQLEXPRESS:dbname=mydb'

It seems that only difference between two configuration strings DNS part so it might be DNS problem as you mentioned.

like image 133
caltuntas Avatar answered Nov 13 '22 14:11

caltuntas