I have the latest C Connector - libmariadb.dll v 3.4.5 - getting the following error when attempting a connection using DBI - install_driver(MariaDB) failed: Can't find 'boot_DBD__MariaDB' symbol in C:/Strawberry/perl/site/lib/libMariaDB.dll at (eval 5) line 3. Compilation failed in require at (eval 5) line 3.
Any ideas how to resolve this?
use DBI;
use strict;
my ($driver,$database,$host,$dsn,$userid,$password,$dbh);
$driver = "MariaDB";
$database = "DBRIDGE";
$host = "localhost";
$dsn = "DBI:$driver:database=$database:host=$host";
$userid = "root";
$password = "mypassword";
$dbh = DBI->connect($dsn, $userid, $password ) or die "Prepare statement failed: $dbh->errstr()";
print "Connected to database on $host\n";
perl/site/lib. (They should be in subdirs ofperl/site/lib/auto.) What if you remove that DLL?