Mansour Al Akeel wrote:
> Hello all,
> I am trying to run vim as mysql client as I had enough with the query 
> browser. things are not going very well and not a lot of resources on 
> the net. The tutorial that comes with it, is long and tends to show the 
> features more than showing how to use them. If some one on this list 
> have had any luck with this plugin, please let me know how to choose a 
> profile when you start vim. If there's a link to a tutorial that gives 
> step-by-step guide to this plugin, it will be a great help.
>
> Thank you in advance.
>   

David Fishburn (the plugin author) does read this mailing list, so he
might be able to give some more pointers.  I use dbext every day to
speak to Microsoft SQL Server and MySQL, and it works really well.  I
learned to use the plugin by reading the accompanying documentation. 
The documentation could maybe do with a bit of restructuring, but I had
little trouble getting set up.

This is my string for defining a profile in my vimrc (I have about 8 of
them):
let g:dbext_default_profile_dev_mysql =
'type=MYSQL:user=root:passwd=012345:dbname=dev:host=localhost:extra=-t'

I got it by copying the MySQL example string from the documentation. 
Note that the name that will appear when you execute <leader>sbp is
determined by the part of the global variable name following
"g:dbext_default_profile_"

If you can be more specific about what you're having trouble with, I can
try to assist.

Regards


-- 

[ Albie Janse van Rensburg ~ http://morph.telspace.co.za ]

Familiarity breeds attempt.


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to