Hi, I've been working with HTML::Mason and have been unable to connect to mysql with DBI. There is a problem with the configuration on my machine such that perl won't check /usr/local/lib/perl5/site_perl/5.6.0/i586-linux/ for modules unless it's explicitly asked to. I don't really know why that is or how I would fix it. In any case, if I make a file startup.pl like: ##################################################################### use lib "/usr/local/lib/perl5/site_perl/5.6.0/i586-linux"; # this is a test use DBI; unless ( $dbh = DBI->connect("DBI:mysql:adatabase","test","",{PrintError=>0})) { print STDERR "unable to get dbi connection: $DBI::errstr\n"; } print STDERR "successfully created dbh $dbh\n"; $dbh->disconnect; 1; ##################################################################### and run it from the command line, it works. If I PerlRequire it in my httpd.conf I get a segmentation fault when I run "apachectl configtest". The last frame of the stack in the core dump is as follows: ################################################################################### #0 0x402125aa in mysql_real_connect (mysql=0x0, host=0x0, user=0x82caf60 "test", passwd=0x0, db=0x82c8c58 "adatabase", port=0, unix_socket=0x0, client_flag=0) at libmysql.c:1125 1125 libmysql.c: No such file or directory. #################################################################################### What's going on? Any help would be much appreciated! - Noam --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]