MT#3435 fix mysql commandline and DSN

apogrebennyk/3_1_force_outbound
Gerhard Jungwirth 12 years ago
parent 773c04c2cd
commit 0690dee65e

@ -68,9 +68,9 @@ sub _test_preconditions {
'port' => $opt{'mysqld-port'},
},
) or die "couldnt start mysqld";
$ENV{NGCP_PANEL_CUSTOM_DSN} = $mysqld->dsn(host => 'localhost');
$ENV{NGCP_PANEL_CUSTOM_DSN} = $mysqld->dsn();
my $dump_files = join(' ', @{ $opt{'mysql-dump'} });
system("cat $dump_files | mysql -uroot --port=$opt{'mysqld-port'}");
system("cat $dump_files | mysql -uroot --host=127.0.0.1 --port=$opt{'mysqld-port'}");
}
unless ($opt{webdriver} eq "external") {

Loading…
Cancel
Save