Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ronnorthrip/dbpull
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnorthrip committed Dec 1, 2023
2 parents 2455db8 + e63e191 commit dbf7427
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/DBPull.php
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,8 @@ public function local_flush_pulls_dir()

public function local_sql_import($file)
{
#TODO - this is a hack to get around the mysql auth echo not working
# exec("$this->local_mysql_auth_echo | mysql --defaults-extra-file=/dev/stdin $this->local_mysql_database < ".$this->local_pulls_path.$file);
//TODO - this is a hack to get around the mysql auth echo not working
// exec("$this->local_mysql_auth_echo | mysql --defaults-extra-file=/dev/stdin $this->local_mysql_database < ".$this->local_pulls_path.$file);
exec("mysql -u$this->local_mysql_user -p$this->local_mysql_password $this->local_mysql_database < ".$this->local_pulls_path.$file);
}

Expand Down

0 comments on commit dbf7427

Please sign in to comment.