Commit 20196053 authored by anarcat's avatar anarcat Committed by anarcat

do not create duplicate GRANT, use only % for now

Related to: #336431

Ported from D5 branch
parent 0cb3b602
......@@ -21,8 +21,7 @@ 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) ||
!_provision_mysql_grant($db_name, $db_user, $db_passwd, $db_host)) {
if (!_provision_mysql_grant($db_name, $db_user, $db_passwd)) {
provision_log("warning", "Could not GRANT user access.");
}
......
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