From: Travis Whitton Date: 2003-02-01T02:26:45+09:00 Subject: Re: [newbie] ruby-dbi > how to connect to a remote DB server? require 'dbi' dbh = DBI.connect("DBI:Mysql:mydatabase:myhost.com", "someuser", "somepass") Substitute myhost.com with the address of your remote server. You also need to have your remote SQL server setup to listen through a socket. -Travis Whitton