Commit 585df6ae by Alex Bush

mysql

1 parent 4a6a0f77
Showing with 0 additions and 6 deletions
...@@ -20,12 +20,6 @@ if ( $config->{db_driver} eq 'SQLite' ) { ...@@ -20,12 +20,6 @@ if ( $config->{db_driver} eq 'SQLite' ) {
); );
} elsif ( $config->{db_driver} eq 'mysql') { } elsif ( $config->{db_driver} eq 'mysql') {
my $dbi = DBIx::Custom->connect( my $dbi = DBIx::Custom->connect(
dsn => "dbi:$config->{db_driver}:database=$config->{db}",
user => $config->{db_username},
password => $config->{db_password},
option => {mysql_enable_utf8 => 1}
);
my $dbi = DBIx::Custom->connect(
dsn => "dbi:mysql:database=$config->{db};host=$config->{db_host};port=$config->{db_port}", dsn => "dbi:mysql:database=$config->{db};host=$config->{db_host};port=$config->{db_port}",
user => $config->{db_username}, user => $config->{db_username},
password => $config->{db_password}, password => $config->{db_password},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!