Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Thomas Basler
ISPConfig 3
Commits
f9325281
Commit
f9325281
authored
Mar 15, 2021
by
Jesse Norell
Browse files
installer: fix powerdns GRANT query
parent
c40198b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
f9325281
...
...
@@ -2036,8 +2036,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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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