Commit 617e5a7c authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix

parent 683dad2a
......@@ -18,10 +18,6 @@
# 0. Cache MySQL connection parameters in a variable (they will work as eHive connection parameters as well) :
export MYCONN="--host=hostname --port=port_number --user=username --password=secret"
#
# or, if you have parameters defined using group-suffixes:
export MYCONN="--defaults-group-suffix=_compara1"
# 1. Create an empty database:
mysql $MYCONN -e 'DROP DATABASE IF EXISTS long_mult_test'
......
......@@ -71,7 +71,7 @@ sub main {
'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'},
'password|dbpass=s' => \$self->{'db_conf'}->{'-pass'},
'database|dbname=s' => \$self->{'db_conf'}->{'-dbname'},
# loop control
......
......@@ -43,7 +43,7 @@ GetOptions('help' => \$help,
'host|dbhost=s' => \$host,
'port|dbport=i' => \$port,
'user|dbuser=s' => \$user,
'pass|dbpass=s' => \$pass,
'password|dbpass=s' => \$pass,
'database|dbname=s' => \$dbname,
'job_id=i' => \$self->{'job_id'},
'analysis_id=i' => \$self->{'analysis_id'},
......
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