Do ing a
use MySQL;
does not load a DBI driver. What you have to do is
use DBI;
and then when you are creating your database handle you tell it what type
of database it is and it loads the correct files from there.
$dbh = DBI->connect("DBI:mysql:mydb","user","pass");
You need to install the DBI and the mysql DBM, also known as
mSQL-MySQL-modules.
Ray Yous wrote:
> When writing a pelr script to access mysql you have to use DBI drivers of
> mysql. Like using the module MySQL in:
>
> use MySQL;
>
> But do you have to tell the script the path of the modules or the DBI
> drivers in order to use DBI for mysql? Or does perl automaticly find the
> moduls for you and load them to run the script?
>
> Thanks
>
> _______________________________________________________________
> Get Free Email and Do More On The Web. Visit http://www.msn.com
>
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> posting. To request this thread, e-mail mysql-thread2800@stripped
>
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail mysql-unsubscribe@stripped instead.
--
Mike Machado
mike@stripped
InnerCite
Network Specialist