Skip to content

Commit

Permalink
minor fix in mysql.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jabali2004 committed Apr 3, 2021
1 parent 4c7b5ac commit 7038036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/services/databases/mysql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub fn get_table(table_name: String, config: Config) -> Option<String> {
.output()
.expect("Error not able to run command!");
} else {
dump_command = Command::new("mysqldump.exe")
dump_command = Command::new(program_name)
.args(&[
format!("-u{}", host_information.username).as_str(),
format!("--host={}", host_information.address).as_str(),
Expand Down

0 comments on commit 7038036

Please sign in to comment.