From: Michael N. <uu...@rz...> - 2003-01-22 20:10:53
|
Paul DuBois wrote: > The MySQL driver for Ruby DBI appears to *require* that you specify > a database name when connecting. Is this part of the DBI spec itself > (if so, I don't see it), or some quirk of the MySQL driver? Not part of DBI spec. > I ask because there are perfectly good reasons to connect with no > database name, e.g., if you just want to query the server for general > status information. Perl DBI allows the database name to be unspecified. This could also be achived by calling (and of course implementing) a driver specific function (of the Mysql DriverHandle class). But Perl's solution seems to be more natural. Regards, Michael |