Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: DBI::db error I am confused!

by Bod (Hermit)
on Jan 03, 2021 at 21:50 UTC ( #11126242=note: print w/replies, xml ) Need Help??


in reply to Re^2: DBI::db error I am confused!
in thread DBI::db error I am confused!

Can anyone give me a hint how to change the driver?

The driver is passed to DBI as the first part of the first parameter of the connect method:

use DBI; use DBD::mysql; my $dbh=DBI->connect("dbi:mysql:$database_schema:localhost:3306",$user +,$pass);
This is connecting to MySQL which also works for MariaDB. Although there is a DBD::MariaDB but I haven't switched to using it yet.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11126242]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2021-04-11 03:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?