BUG-14726 Error al conectar ProcessMaker con un... SOLVED

- even filtered by type "SUPER".
- add validation in intall also a check for use the current user
This commit is contained in:
Marco Antonio Nina
2014-05-07 11:18:09 -04:00
parent a7c785fb3d
commit 6b015ed3b3
4 changed files with 94 additions and 61 deletions

View File

@@ -1200,7 +1200,7 @@ class AppCacheView extends BaseAppCacheView
$sql = "SELECT *
FROM `information_schema`.`USER_PRIVILEGES`
WHERE GRANTEE = \"'$mysqlUser'\" and PRIVILEGE_TYPE = 'SUPER' ";
WHERE GRANTEE = \"'$mysqlUser'\" ";
$rs1 = $stmt->executeQuery($sql, ResultSet::FETCHMODE_ASSOC);
$rs1->next();