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:
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.use DBI; use DBD::mysql; my $dbh=DBI->connect("dbi:mysql:$database_schema:localhost:3306",$user +,$pass);
In Section
Seekers of Perl Wisdom