installation

nicholas at 10122112.com
Wed Nov 7 13:16:31 EST 2012


>>>> I had installed it. Changed config file "Type=mysql"  all to lower 
>>>> cap and now the error is gone. Fed passivetrap.pl with some mails 
>>>> but the mysql still not get updated.
>>>> How can I trouble shoot?
>>>is mysql database working from phpmyadmin ?

>> Yes it is working. I had tested it with a little script
>>
>> #!/usr/bin/perl
>> use DBI;
>> my $dbh = 
>> DBI->connect('dbi:mysql:dbname=dataname;host=localhost','username','pa
>> ssword',{AutoCommit=>1,RaiseError=>1,PrintError=>0});
>> print "2+2=",$dbh->selectrow_array("SELECT 2+2"),"\n";
>
> You tested if your script can connect to the database.  Make it actually connect to the server, open a specific database (the one that has your trap data) and query something out of any table.
>

Hi Todd,

How do I accomplish that? There is no entry. I fed passivetrap.pl with some mails, but they are not written into my trap mysql database

Thanks
nic




More information about the Spamikaze mailing list