Skip to content

Commit

Permalink
bugfixing for dbroot connection
Browse files Browse the repository at this point in the history
  • Loading branch information
xrowkristina committed Nov 14, 2017
1 parent 7c0079f commit 4718506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrow/eZCluster/Resources/db.php
Expand Up @@ -133,7 +133,7 @@ public static function initDB($dsn)

//test if user has access else grant
try {
$grants = $dbmaster->query('SHOW GRANTS FOR ' . $dbdetails['username']);
$grants = $dbroot->query('SHOW GRANTS FOR ' . $dbdetails['username']);
} catch (\Exception $e) {
$grants = false;
}
Expand Down

0 comments on commit 4718506

Please sign in to comment.