I installed XAMPP on MacOS (Snow Leopard).
It seems to work, I was able to start Mysql, run a simple PHP script.
I know perl is also part of the installation. Indeed I found a perl script which is part of the installation.
I tried to run it, but it failed.
install_driver(mysql) failed: Can't locate DBD/mysql.pm in (@INC contains: /Library/Perl/Updates/5.10.0/darwin-thread-multi-2level /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level /System/Library/Perl/Extras/5.10.0 .) at (eval 52) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge.
at /Applications/XAMPP/xamppfiles/sql-bench/server-cfg line 247
Compilation failed in require at ./test-select line 35.
I tried to modify the @INC, but it didn't seem to work.
Should this thing work out of the box?
One thing I did, which may be related is that I accidentally installed DBI package (not knowing it may be part of the installation already), but I doubt that this was the cause of the above problem.
Should this script work out of the box? Or is there some additional setup I need to do first?
Any tips will be appreciated.