Commit 1af71bd7 authored by omega8cc's avatar omega8cc

Issue #2-GH by pricejn2 - Extra db GRANT for 127.0.0.1 not added when migrating site.

parent 2e90dffe
......@@ -60,6 +60,7 @@ class Provision_Service_db_mysql extends Provision_Service_db_pdo {
$extra_host = "127.0.0.1";
$success_extra_host = $this->query("GRANT ALL PRIVILEGES ON `%s`.* TO `%s`@`%s` IDENTIFIED BY '%s'", $name, $username, $extra_host, $password);
}
// Issue: https://github.com/omega8cc/provision/issues/2
return $this->query("GRANT ALL PRIVILEGES ON `%s`.* TO `%s`@`%s` IDENTIFIED BY '%s'", $name, $username, $host, $password);
}
......
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