From: Michael Neumann Date: 2001-05-09T21:46:01+09:00 Subject: [ruby-talk:14910] Re: Strange behaviour with Oracle connection Aleksi Niemel? wrote: > I can't reproduce it. My version prints the number and a proper error > message "invalid username/password; logon denied" every time. So maybe > this is Oracle 7 specific. What happens, if you leave the "tns_name" out as last argument and set it to "" or nil? If I do it, it prints 0 1 2 and hangs. But connecting to a database without TNS works without problems. Your code below works for me (as well as my example) if I use a TNS name. Thanks, Aleksi. Regards, Michael -- Michael Neumann merlin.zwo InfoDesign GmbH http://www.merlin-zwo.de