At 21:51 +0200 9/22/02, Thoenen, Peter  Mr.  EPS wrote:
>Following this conversation myself (also a perl db newbie :) ... before
>always just used php) and curious if you know definitely what db vendor you
>are going to be using (mysql in this case), any reason to use dbi; as
>opposed to just using vendor specific or net::mysql; .  Is it just a
>portability issue?


The reason to use DBI is that you can't use *any* of the vendor specific
DBD-level drivers without it.  It's not an either-one-or-the-other question.
It's both or neither.

DBI is useless without at least one driver for connecting to a specific
database.

DBD::<vendor> is useless without DBI; Perl scripts don't communcate directly
with DBD drivers. They communicate with DBI, which speaks to the database
through the driver.

Haven't used Net::MySQL, so cannot comment on that.

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to