ADD: more tests

This commit is contained in:
Dominik Meyer 2024-01-02 23:49:35 +01:00
parent e851de04da
commit d7fb6dc7a4
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

@ -36,7 +36,7 @@ sub createDSN
{
my $self = shift;
#my $dsn = "DBI:mysql:database=$database;host=$hostname;port=$port";
my $dsn = "DBI:mariadb:database=" . $self->{database} . ";host=" . $self->{host} . ";port=" . $self->{port};
my $dsn = "DBI:MariaDB:database=" . $self->{database} . ";host=" . $self->{host} . ";port=" . $self->{port};
$self->{dsn} = $dsn;
# try to parse the dsn to ensure it is valid