>i've perl and apache on win 98 which works fine. My mysql works also
>fine but the link between perl and mysql not ...
>
>there has to be a driver, so i downloaded it and started ppm and typed
>intall DBD:Mysql not working ->error : can't find a ppd file
>so i tried install DBD-Mysql-1.12212.x86.ppd ->error : need absolute URL
>it tried intalle c:\windows\desktop\downloads\DBD-mysql-1.12212.x86.ppd
>->error type 502 type c not supported ...
Hi there.
I haven't seen anyone answer you, so I'll try to give you some hope.
I use FreeBSD so I don't know much about Windows Perl. I don't even
know how to install Perl modules in Windows. If those are errors at
install, I can't help. Overall, I just started to experiment with
MySQL and DBI, so I am no guru at this.
What you have: Working Perl and Mysql. Good.
You need to connect these like Perl -> DBI -> Mysql DBD driver -> MySQL server.
DBI is a generic database connection and it needs a database specific
driver. This is where the problem lies.
In Unix, I installed these in order first DBI then DBD with commands
perl Makefile.PL
make
make test
make install
The make test is important, because you can trust the testing code.
Trying it out with your own code can fail because of errors in the
test.
(Yes. I admit. I had to "make test" a couple of times, until I
realized the mysqld should be running....)
Can you test the DBI module alone? With a hash or CSV type of
database. Is there a README included with the DBI kit. What does it
say?
What kind of an url did you give to DBD-Mysql-1.12212.x86.ppd
installer? Is there a README telling how to install?
my $.02
Petri
--
Petri.Riihikallio@stripped