Commit 754b13e5 authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian
Browse files

Revert to using % and localhost variants for the db credentials

parent f40d5608
......@@ -24,7 +24,8 @@ function _provision_mysql_new_site_db($db_name, $db_user, $db_passwd, $db_host)
return FALSE;
if (!_provision_mysql_grant($db_name, $db_user, $db_passwd)) {
if (!_provision_mysql_grant($db_name, $db_user, $db_passwd)
|| !_provision_mysql_grant($db_name, $db_user, $db_passwd, 'localhost')) {
provision_log("warning", "Could not GRANT user access.");
Supports Markdown
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