sql commands from Vim

2009-11-18 Thread epanda
Hi, I am searching for some utility that enable to do sql command from within GVim under XP. (I have tried dbext without success.) Thanks --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/

Re: sql commands from Vim

2009-11-18 Thread Dennis Benzinger
epanda wrote: > Hi, > > I am searching for some utility that enable to do sql command from > within GVim under XP. > > (I have tried dbext without success.) > [...] What's the problem with dbext? Regards, Dennis Benzinger --~--~-~--~~~---~--~~ You received thi

Re: sql commands from Vim

2009-11-18 Thread Joan Miquel Torres Rigo
2009/11/18 epanda > > Hi, > > I am searching for some utility that enable to do sql command from > within GVim under XP. > Simply write query, select it and do ! . Vim mantains command history and then, next times you only need to go up and down into the history (after typing :! --or ! in visu

Re: sql commands from Vim

2009-11-18 Thread epanda
The pb with dbext is the connection. I have an sql db readable from phpmyadmin. When I choose from dbext menu , 6's choice , my root and password entered, connection fails. Do I need another client application to connect to my db ? Thanks On 18 nov, 20:20, Dennis Benzinger wrote: > epanda wr

Re: sql commands from Vim

2009-11-18 Thread Dennis Benzinger
epanda wrote: > The pb with dbext is the connection. > > I have an sql db readable from phpmyadmin. > > When I choose from dbext menu , 6's choice , my root and password > entered, connection fails. > > Do I need another client application to connect to my db ? > [...] I don't know phpmyadmin,

Re: sql commands from Vim

2009-11-18 Thread epanda
Ok I think I have understood, dbext needs perl dbi module to work. I have not installed perl on my OS. I didn't think this script need interface. Is there another solution to avoid me to install perl ? Thanks On 18 nov, 20:47, Dennis Benzinger wrote: > epanda wrote: > > The pb with dbext is

Re: sql commands from Vim

2009-11-18 Thread Dennis Benzinger
epanda wrote: > Ok I think I have understood, > > > dbext needs perl dbi module to work. > I have not installed perl on my OS. I didn't think this script need > interface. > > Is there another solution to avoid me to install perl ? > [...] As far as I know Perl is only needed if you want to ke

Re: sql commands from Vim

2009-11-18 Thread epanda
I don't know this database client. It fails on my computer. On 18 nov, 21:13, Dennis Benzinger wrote: > epanda wrote: > > Ok I think I have understood, > > > dbext needs perl dbi module to work. > > I have not installed perl on my OS. I didn't think this script need > > interface. > > > Is ther

Re: sql commands from Vim

2009-11-18 Thread David Fishburn
On Wed, Nov 18, 2009 at 2:35 PM, epanda wrote: > > The pb with dbext is the connection. ... > When I choose from dbext menu , 6's choice , my root and password > entered, connection fails. Don't give up on dbext without asking for help. I am the author/maintainer of the plugin and am happy to he

Re: sql commands from Vim

2009-11-18 Thread epanda
I agree to have a demonstration. I have put the configure lines into my vimrc put after 3 steps : 6 => sqldatabase login : root pass dbext : no statement to do. On 19 nov, 01:44, David Fishburn wrote: > On Wed, Nov 18, 2009 at 2:35 PM, epanda wrote: > > > The pb with dbext is the connection.

Re: sql commands from Vim

2009-11-19 Thread Dennis Benzinger
Hi! Original-Nachricht > Datum: Wed, 18 Nov 2009 23:39:30 -0800 (PST) > Von: epanda > An: vim_use > Betreff: Re: sql commands from Vim > > I agree to have a demonstration. > > I have put the configure lines into my vimrc put after 3 steps : &g

Re: sql commands from Vim

2009-11-19 Thread epanda
root:passwd=root:dbname=mysql:extra=-t' let g:dbext_default_profile_mysql_local_DBI = 'type=DBI:user=root:passwd=root:driver=mysql:conn_parms=database=mysql;host=localhost' let g:dbext_default_profile_mysql_local_ODBC = 'type=ODBC:user=root:passwd=root:dsnname=mysql' let g:

Re: sql commands from Vim

2009-11-19 Thread David Fishburn
On Thu, Nov 19, 2009 at 2:39 AM, epanda wrote: > > I agree to have a demonstration. > > I have put the configure lines into my vimrc put after 3 steps : > 6 => sqldatabase > login : root > pass > > dbext : no statement to do. > Okay, I see you have created a dbext profile (good). Now, to see if

Re: sql commands from Vim

2009-11-19 Thread epanda
BListTable send me this result so I am logged Connection: T (MYSQL) D(tango) U(root) at 18:03 But I would like to be connected in silent mode now. Actually I have to respond to those input fields after DBPromptForBufferParameters command : Enter profile Database . . DatabaseUser Da

Re: sql commands from Vim

2009-11-19 Thread David Fishburn
On Thu, Nov 19, 2009 at 12:11 PM, epanda wrote: > > BListTable send me this result so I am logged       Connection: T > (MYSQL)  D(tango)  U(root)   at 18:03 > But I would like to be connected in silent mode now. Actually I have > to respond to those input fields after DBPromptForBufferParam

Re: sql commands from Vim

2009-11-19 Thread epanda
Ok There is a pb on point 2 DBSetOption display_cmd_line = 1 dbext:Unkown parameter : display_cmd_line Furthermore launching dbext command from menu fails too and helptags fails too On 19 nov, 19:27, David Fishburn wrote: > On Thu, Nov 19, 2009 at 12:11 PM, epanda wrote: > > > BListTable send

Re: sql commands from Vim

2009-11-20 Thread Dennis Benzinger
epanda wrote: > Ok There is a pb on point 2 > > DBSetOption display_cmd_line = 1 > dbext:Unkown parameter : display_cmd_line Remove the spaces around the equal sign. > Furthermore launching dbext command from menu fails too and helptags > fails too > [...] How did you install dbext and did you

Re: sql commands from Vim

2009-11-20 Thread epanda
Yes I have done and Update tags file fails under WinXP. E154 : Marqueur "/MyProjectDir/" duplicate into the file C:\Program Files\vim\Vimfiles\doc/dbext.txt On 20 nov, 10:35, Dennis Benzinger wrote: > epanda wrote: > > Ok There is a pb on point 2 > > > DBSetOption display_cmd_line = 1 > > d

RE: sql commands from Vim

2009-11-20 Thread John Beckett
epanda: Please bottom post on this list. Quote a small (relevant) part of the message you are replying to, and put your text underneath. See the list guidelines: http://groups.google.com/group/vim_use/web/vim-information --~--~-~--~~~---~--~~ You received this m