Commit f4319390 authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch '6097-error-when-calling-update-php-and-powerdns-is-configured' into 'develop'

Resolve "Error when calling update.php and PowerDNS is configured"

Closes #6097

See merge request ispconfig/ispconfig3!1448
parents 126aa5e1 f9325281
......@@ -2042,8 +2042,8 @@ class installer_base {
}
//* Create the ISPConfig database user in the local database
$query = "GRANT ALL ON ?? TO ?@'localhost'";
if(!$this->db->query($query, $conf['powerdns']['database'] . '.*', $conf['mysql']['ispconfig_user'])) {
$query = "GRANT ALL ON ??.* TO ?@?";
if(!$this->db->query($query, $conf['powerdns']['database'], $conf['mysql']['ispconfig_user'], 'localhost')) {
$this->error('Unable to create user for powerdns database Error: '.$this->db->errorMessage);
}
......
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