]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/write_mysql
added .biopiecesrc
[biopieces.git] / bp_bin / write_mysql
index 1a783bf7396022fb41445a5c057327f660d7ddf3..aa2c5a431cc703814f7441c7ad93f9957263ed3b 100755 (executable)
@@ -39,8 +39,8 @@ use Maasha::Calc;
 
 my ( $options, $user, $password, $dbh, $in, $out, $tmp_dir, $tmp_file, $fh_out, $record, $key, $type_hash, $i, @keys, $line );
 
-$user     = $ENV{ "USER" };
-$password = $ENV{ "USER" };
+$user     = Maasha::Biopieces::biopiecesrc( "MYSQL_USER" );
+$password = Maasha::Biopieces::biopiecesrc( "MYSQL_PASSWORD" );
 
 $options = Maasha::Biopieces::parse_options(
     [