Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mysql-dbi-perl code location

Status
Not open for further replies.

PROFESSORSPARKIE

Instructor
Oct 24, 2002
181
US
I placed this message as a perl thread also.

I write perl programs, no problem. I install MySQL and do all kinds of things at the command line & through standard input script files.

I have downloaded DBI library code but when I try to run a perl program with a database the execution time error is because the DBI code can't be found.
My database code seems to be OK, no errors there.

Facts:
WIN/XP Serv-2
Latest perl in a c:\perl\bin
latest stable Mysql in c:\mysql\bin
trying to run perl program in \my-web-page\cgi-bin
in my local & web host site.
Questions:
where di need to have the DBI code & what must be in my PATH
I just seem to be missing something about DBI file location

Any suggestions?

I teach a lot of programming so I can learn. You can never learn it all.
 
You need to make sure you have the necessary perl modules/drivers DBI module probably installed as standard with your perl but you will need DBD::mysql
If you are using active state perl then the excellent ppm package manager makes this easy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top