From: 520079130762-0001@... (Michael Neumann) Date: 2002-10-28T21:34:32+09:00 Subject: Re: Ruby/DBI and remote db (Was: Re: SQLite) On Mon, 2002-10-28 at 13:09, Ollivier Robert wrote: > In article <1035364235.286.92.camel@michael.neumann.all>, > Michael Neumann <520079130762-0001@t-online.de> wrote: > > That's correct. Ruby/DBI supports it, but it has not been tested enough. > > Speaking of Ruby/DBI, is there any plan to support a host specification > within the connection string w/o needing to use dbd_proxy and running > another process ? > > Perl/DBI does support it. > > e.g. > > dbh = DBI.connect ("dbi:Pg:#{spamdb}:host=#{host}", "roberto", "", > 'AutoCommit' => false) This is supported in Ruby/DBI, too. But if a host-specifier is allowed or not strongly depends on the used database, whether or not the database accepts connections over the network. The driver-URL format is very close to that of Perl's DBI. Regards, Michael