Commit f607b560 authored by mig5's avatar mig5

Issue #1573004 by cafuego - provision-migrate fails with 'Dummy connection...

Issue #1573004 by cafuego - provision-migrate fails with 'Dummy connection failed to fail: mysql: option -e' requires an argument on Debian Wheezy
parent a0a16b2c
......@@ -98,7 +98,7 @@ class Provision_Service_db_mysql extends Provision_Service_db_pdo {
}
function grant_host(Provision_Context_server $server) {
$command = sprintf('mysql -u intntnllyInvalid -h %s -P %s -e ""',
$command = sprintf('mysql -u intntnllyInvalid -h %s -P %s -e "SELECT VERSION()"',
escapeshellarg($this->server->remote_host),
escapeshellarg($this->server->db_port));
......
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