From: Markus Jais Date: 2001-11-28T23:32:55+09:00 Subject: [ruby-talk:26796] Re: Database connectivity On Wed, 28 Nov 2001 14:49:03 +0100, Jim Freeze wrote: > Hi > > I use MySQL as my database. I would like to know (30,000 ft overview) > the differences between MySQL/Ruby and Ruby/DBI. Why should I use one > over the other? > Are there performance differences? > Does one have some fundamental functionality that the other doesn't? > > Thanks > Ruby/DBI is a wrapper around the more special database modules providing a common interface, so you can smoothly switch form one database to another. when you only want to use MySQL and have no plans for changing this then you better use MySQL/Ruby, because Ruby/DBI works on top of this which doesn't make it faster of course. Also, there might be some parts in MySQL/Ruby which are not part of Ruby/DBI, because DBI, as I said, only provides a common api, but does not support MySQL specific functionality AFAIK. hope this help markus