perl / mysql error in apache

Problems with the Windows version of XAMPP, questions, comments, and anything related.

perl / mysql error in apache

Postby lee dixon » 31. August 2009 19:41

I'm running a perl script that connects to mysql. When I run the perl script outside of the web server it runs fine when I run it using the web server I get this message in the error log

Aug 31 14:00:04 2009] [error] [client 127.0.0.1] install_driver(mysql) failed: Can't load 'D:/xampp/perl/site/lib/auto/DBD/mysql/mysql.dll' for module DBD::mysql: load_file:The specified module could not be found at D:/xampp/perl/lib/DynaLoader.pm line 203.
[Mon Aug 31 14:00:04 2009] [error] [client 127.0.0.1] at (eval 7) line 3
[Mon Aug 31 14:00:04 2009] [error] [client 127.0.0.1] Compilation failed in require at (eval 7) line 3.
[Mon Aug 31 14:00:04 2009] [error] [client 127.0.0.1] Perhaps a required shared library or dll isn't installed where expected
[Mon Aug 31 14:00:04 2009] [error] [client 127.0.0.1] at D:/xampp/cgi-bin/display.pl line 12

I've tried uninstalling and re-installing several times (that was the most common recomendation on the web). I've chnged permissions to wide open, I've added the directory to the path.. all to no avail?

the mysql.dll is in the folder specified above.. its not really clear by the message weather it can't find mysql.dll or if its having troble with the DBD?

XAMPP and all its part is usually very easy to debug and use so I'm sure this is easy as well it just has me perplexed I've tried everything over the last two days. I'm stumpped .... Can anyone help an old guy out??
lee dixon
 
Posts: 2
Joined: 31. August 2009 19:27

Re: perl / mysql error in apache

Postby Wiedmann » 31. August 2009 19:54

Aug 31 14:00:04 2009] [error] [client 127.0.0.1] install_driver(mysql) failed: Can't load 'D:/xampp/perl/site/lib/auto/DBD/mysql/mysql.dll' for module DBD::mysql: load_file:The specified module could not be found at D:/xampp/perl/lib/DynaLoader.pm line 203

Copy the file "libmysql.dll" from "D:\xampp\perl\bin" to "D:\xampp\perl\site\lib\auto\DBD\mysql".


I've tried uninstalling and re-installing several times (that was the most common recomendation on the web)

That's the problem with Google. Most answers are 90% useless (because many people without knowledge posting a lot of things around the web). Thus Google should always the last resource, after reading the manual, searching or asking on a support channel for a product.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: perl / mysql error in apache

Postby lee dixon » 31. August 2009 20:11

That has moved me on to my next error.... Thank you very much for your help and your good advice!!!!!!
lee dixon
 
Posts: 2
Joined: 31. August 2009 19:27


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 58 guests