Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

replacement for DBI?

by jck (Scribe)
on Oct 01, 2020 at 23:41 UTC ( [id://11122444]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    line 3: use DBI;
    
    ...
        or die "Couldn't open database: $DBI::errstr; stopped";
    line 22: my $dbh2 = DBI->connect('DBI:mysql:database_name2;host=localh
    +ost;port=3306', 'username', 'password')
        or die "Couldn't open database: $DBI::errstr; stopped";
    
  2. or download this
    install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC 
    (@INC contains: /home/domainname/public_html/cgi-bin/ //perl5/lib/perl
    +5 
    ...
    or perhaps the capitalisation of 'mysql' isn't right.
    Available drivers: DBM, ExampleP, File, Gofer, Mem, Proxy, SQLite, Spo
    +nge.
     at /home/domainname/public_html/cgi-bin/events_db_embed.pl line 20.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11122444]
Approved by LanX
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found