Auch wenn ich die Berechtigung für "contaoadmin" auf "localhost" explizit setze erstellt er immer noch keine Verbindung zur Datenbank.
Code:
MariaDB [(none)]> show grants for 'contaoadmin'@'localhost';
+--------------------------------------------------------------------------------------------------------------------+
| Grants for contaoadmin@localhost |
+--------------------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO `contaoadmin`@`localhost` IDENTIFIED BY PASSWORD '*3ECFEE652DA38165C901CEC2D141A96758B2D2E7' |
| GRANT ALL PRIVILEGES ON `contao4`.* TO `contaoadmin`@`localhost` |
+--------------------------------------------------------------------------------------------------------------------+
in den "var/logs" steht als letzter Eintrag:
Code:
[2022-03-17T18:25:20.886201+01:00] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\DriverException: "An exception occurred in the driver: could not find driver" at /var/www/html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 119 {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 0): An exception occurred in the driver: could not find driver at /var/www/html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:119)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 0): could not find driver at /var/www/html/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:30)\n[previous exception] [object] (PDOException(code: 0): could not find driver at /var/www/html/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:28)"} []
Hat keiner eine Idee?
Lesezeichen