my ( $options, $user, $password, @databases, $database );
-$user = $ENV{ "USER" };
-$password = $ENV{ "USER" };
+$user = Maasha::Biopieces::biopiecesrc( "MYSQL_USER" );
+$password = Maasha::Biopieces::biopiecesrc( "MYSQL_PASSWORD" );
$options = Maasha::Biopieces::parse_options(
[
- { long => 'user', short => 'i', type => 'string', mandatory => 'no', default => $user, allowed => undef, disallowed => undef },
- { long => 'password', short => 'n', type => 'string', mandatory => 'no', default => $password, allowed => undef, disallowed => undef },
+ { long => 'user', short => 'u', type => 'string', mandatory => 'no', default => $user, allowed => undef, disallowed => undef },
+ { long => 'password', short => 'p', type => 'string', mandatory => 'no', default => $password, allowed => undef, disallowed => undef },
]
);