Alfahosting: Contao 4.13 - Datenbank keine Verbindung
Hallo zusammen,
bei Alfahosting möchte ich eine neue Contao 4.13 Installation per ContaoManager installieren. PHP 7.4. Alfahosting Paket v2 (mit dem neuen CloudPit).
Es gibt jedoch Probleme mit der Datenbankverbindung.
Im ContaoManager im Datenbankinstallationsschritt kommt "Fehler beim Verbinden mit der Datenbank."
Ich habe MySQL 5 als auch 8 ausprobiert und den entsprechenden Port für den Localhost angegeben (3306 bzw. 3307).
Gehe ich in den Contao Manager und dort in der Systemwartung,wird angezeigt, dass es Probleme mit der Datenbank gibt.
Bei "Datenbank prüfen" kommt folgende Fehlermeldung:
Code:
Exception in file vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php on line 101
An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'xxxxx'@'localhost' (using password: YES)
Mit den Zugangsdaten kann ich mich jedoch in PHPmyAdmin (von Alfahosting bereit gestellt) einloggen. An den Zugangsdaten kann es also nicht liegen
Was fehlt mir bzw. dem System?
Liste der Anhänge anzeigen (Anzahl: 2)
Hier die vollständige Fehlermeldung aus "Datenbank prüfen"
Code:
Exception in file vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php on line 101
An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'xxxx'@'localhost' (using password: YES)
#0 vendor/doctrine/dbal/src/Connection.php(1939): Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(Object(Doctrine\DBAL\Driver\PDO\Exception), NULL)
#1 vendor/doctrine/dbal/src/Connection.php(1887): Doctrine\DBAL\Connection->handleDriverException(Object(Doctrine\DBAL\Driver\PDO\Exception), NULL)
#2 vendor/doctrine/dbal/src/Connection.php(380): Doctrine\DBAL\Connection->convertException(Object(Doctrine\DBAL\Driver\PDO\Exception))
#3 vendor/doctrine/dbal/src/Connection.php(1655): Doctrine\DBAL\Connection->connect()
#4 vendor/doctrine/dbal/src/Connection.php(1082): Doctrine\DBAL\Connection->getWrappedConnection()
#5 vendor/doctrine/dbal/src/Connection.php(622): Doctrine\DBAL\Connection->executeQuery('SELECT @@versio...', Array, Array)
#6 vendor/contao/core-bundle/src/Command/MigrateCommand.php(583): Doctrine\DBAL\Connection->fetchOne('SELECT @@versio...')
#7 vendor/contao/core-bundle/src/Command/MigrateCommand.php(89): Contao\CoreBundle\Command\MigrateCommand->compileConfigurationErrors()
#8 vendor/symfony/console/Command/Command.php(298): Contao\CoreBundle\Command\MigrateCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 vendor/symfony/console/Application.php(1058): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 vendor/symfony/framework-bundle/Console/Application.php(96): Symfony\Component\Console\Application->doRunCommand(Object(Contao\CoreBundle\Command\MigrateCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 vendor/symfony/console/Application.php(301): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand(Object(Contao\CoreBundle\Command\MigrateCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 vendor/symfony/framework-bundle/Console/Application.php(82): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 vendor/symfony/console/Application.php(171): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 vendor/contao/manager-bundle/bin/contao-console(38): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput))
#15 {main}
Anhang 27278
Anhang 27279