Commit 8f1b85c4 authored by Leo Gordon's avatar Leo Gordon
Browse files

connection parameters now match MySQL - you can finally use the same syntax in both

parent d87592d6
......@@ -68,11 +68,11 @@ sub main {
'regfile=s' => \$self->{'reg_file'},
'regname=s' => \$self->{'reg_name'},
'url=s' => \$self->{'url'},
'dbhost=s' => \$self->{'db_conf'}->{'-host'},
'dbport=i' => \$self->{'db_conf'}->{'-port'},
'dbuser=s' => \$self->{'db_conf'}->{'-user'},
'dbpass=s' => \$self->{'db_conf'}->{'-pass'},
'dbname=s' => \$self->{'db_conf'}->{'-dbname'},
'host|dbhost=s' => \$self->{'db_conf'}->{'-host'},
'port|dbport=i' => \$self->{'db_conf'}->{'-port'},
'user|dbuser=s' => \$self->{'db_conf'}->{'-user'},
'pass|dbpass=s' => \$self->{'db_conf'}->{'-pass'},
'database|dbname=s' => \$self->{'db_conf'}->{'-dbname'},
# loop control
'loop' => \$loopit,
......
......@@ -40,11 +40,11 @@ my $reg_alias = 'hive';
GetOptions('help' => \$help,
'url=s' => \$url,
'conf=s' => \$conf_file,
'dbhost=s' => \$host,
'dbport=i' => \$port,
'dbuser=s' => \$user,
'dbpass=s' => \$pass,
'dbname=s' => \$dbname,
'host|dbhost=s' => \$host,
'port|dbport=i' => \$port,
'user|dbuser=s' => \$user,
'pass|dbpass=s' => \$pass,
'database|dbname=s' => \$dbname,
'job_id=i' => \$self->{'job_id'},
'analysis_id=i' => \$self->{'analysis_id'},
'logic_name=s' => \$self->{'logic_name'},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment