diff --git a/setup/src/Magento/Setup/Test/Unit/Validator/DbValidatorTest.php b/setup/src/Magento/Setup/Test/Unit/Validator/DbValidatorTest.php index b04b173e652b9..2c103e485d0d5 100644 --- a/setup/src/Magento/Setup/Test/Unit/Validator/DbValidatorTest.php +++ b/setup/src/Magento/Setup/Test/Unit/Validator/DbValidatorTest.php @@ -55,7 +55,6 @@ public function testCheckDatabaseConnection() ['DELETE'], ['CREATE'], ['DROP'], - ['REFERENCES'], ['INDEX'], ['ALTER'], ['CREATE TEMPORARY TABLES'], @@ -65,7 +64,6 @@ public function testCheckDatabaseConnection() ['SHOW VIEW'], ['CREATE ROUTINE'], ['ALTER ROUTINE'], - ['EVENT'], ['TRIGGER'], ]; $accessibleDbs = ['some_db', 'name', 'another_db']; diff --git a/setup/src/Magento/Setup/Validator/DbValidator.php b/setup/src/Magento/Setup/Validator/DbValidator.php index 16b916b6a6989..0aea906b5b1e8 100644 --- a/setup/src/Magento/Setup/Validator/DbValidator.php +++ b/setup/src/Magento/Setup/Validator/DbValidator.php @@ -146,7 +146,6 @@ private function checkDatabasePrivileges(\Magento\Framework\DB\Adapter\AdapterIn 'DELETE', 'CREATE', 'DROP', - 'REFERENCES', 'INDEX', 'ALTER', 'CREATE TEMPORARY TABLES', @@ -156,7 +155,6 @@ private function checkDatabasePrivileges(\Magento\Framework\DB\Adapter\AdapterIn 'SHOW VIEW', 'CREATE ROUTINE', 'ALTER ROUTINE', - 'EVENT', 'TRIGGER' ];