http://qs321.pair.com?node_id=371657


in reply to Re: Cannot connect to SQL Server 2000 using DBI
in thread Cannot connect to SQL Server 2000 using DBI

I thought in the connection string, you need to specify the driver of connecting database??? Why do I need to add DBD???
  • Comment on Re^2: Cannot connect to SQL Server 2000 using DBI

Replies are listed 'Best First'.
Re^3: Cannot connect to SQL Server 2000 using DBI
by WhiteBird (Hermit) on Jul 04, 2004 at 13:53 UTC
    I suppose the simpliest way to say it is that the DBD is the driver to the database. If I understand the process correctly, the DBD contains the specifics for the particular database that you are trying to connect to. You need to understand both DBI and your chosen driver. I haven't pursued the "why" as much as the "how". You just need all the correct pieces or the connection isn't going to work. Have you looked at the DBI site? You can download a DBD there and get more information.