Page 1 of 1

[Help] CGI Perl with MySQL for Spiderbasic or HttpRequest

Posted: Sat Feb 22, 2025 1:50 pm
by mk-soft
Maybe there is someone here who is familiar with Perl.

I have an old NAS from Buffalo with MySQL and WebServer with Perl.

But I can't get a Perl script to read or write to the MySQL database.
The server does not support the module DBI (use dbi).

After I have output the modules via Perl script, I only find the possibility to solve this with the following modules.
- Session
- Session/Driver
- Session/Driver/MySQL

I am a real beginner with Perl (which does not happen often)

Thanks

Re: [Help] CGI Perl with MySQL for Spiderbasic or HttpRequest

Posted: Sat Feb 22, 2025 5:49 pm
by skywalk
I have not used Perl but my understanding is Perl must have DBI installed to access MySQL or any database.
Quick examples using a Perl Database Driver.

Re: [Help] CGI Perl with MySQL for Spiderbasic or HttpRequest

Posted: Sat Feb 22, 2025 7:08 pm
by Piero
mk-soft wrote: Sat Feb 22, 2025 1:50 pmI am a real beginner with Perl (which does not happen often)
Somebody cracked my Idol's account :cry:

Re: [Help] CGI Perl with MySQL for Spiderbasic or HttpRequest

Posted: Sat Feb 22, 2025 8:43 pm
by mk-soft
No hack ;)

I have the module : /usr/lib/perl5/vendor_perl/5.8.8/CGI/Session/Driver/DBI.pm
But the perl examples from internet not working :cry: