> Unfortunately the help ist pretty vast.
Yes, that I am trying to do :-)
> I am mainly interested in storing a connection information for a few
> mysql connections, so that there is no prompting.
> And then just execute a plain SQL String.
> What is the absolute basic setting for this?
In your .vimrc add the following:
let g:dbext_default_profile_abc =
'type=MYSQL:user=jim:passwd=eee:dbname=whichdatabase:host=192.168.1.40:extra=-t'
let g:dbext_default_profile_def =
'type=MYSQL:user=bob:passwd=ddd:dbname=whichdatabase:host=192.168.1.40:extra=-t'
Then edit:
gvim dave.sql
At the top (or bottom) add:
//dbext:profile=abc
Then either run :DBCheckModeline (to test) or just re-open the buffer.
HTH,
Dave
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment