ADD: more tests
This commit is contained in:
parent
e851de04da
commit
d7fb6dc7a4
@ -36,7 +36,7 @@ sub createDSN
|
|||||||
{
|
{
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
#my $dsn = "DBI:mysql:database=$database;host=$hostname;port=$port";
|
#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;
|
$self->{dsn} = $dsn;
|
||||||
|
|
||||||
# try to parse the dsn to ensure it is valid
|
# try to parse the dsn to ensure it is valid
|
||||||
|
Loading…
Reference in New Issue
Block a user