Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
5ace4bea
Commit
5ace4bea
authored
Jul 24, 2009
by
anarcat
Committed by
anarcat
Jul 24, 2009
Browse files
tell the user about GRANT the same way we mention REVOKE
parent
5e91a832
Changes
1
Show whitespace changes
Inline
Side-by-side
db_server/provision_mysql.drush.inc
View file @
5ace4bea
...
...
@@ -53,6 +53,7 @@ function _provision_mysql_new_site_db($db_name, $db_user, $db_passwd, $db_grant_
return
FALSE
;
}
drush_log
(
dt
(
"Granting privileges to %user@%client on %database"
,
array
(
'%user'
=>
$db_user
,
'%client'
=>
$db_grant_host
,
'%database'
=>
$db_name
)));
if
(
!
_provision_mysql_grant
(
$db_name
,
$db_user
,
$db_passwd
,
$db_grant_host
))
{
drush_log
(
"Could not GRANT user access."
,
'warning'
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment