Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied

Komplikacja

Brak dostępu do panelu zaplecza PrestaShop. W logach
[Thu Apr 01 10:43:44.121710 2021] [proxy_fcgi:error] [pid 28455:tid 140630594135808] [client 83.31.182.91:39728] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'juzek_tomlot-eu'@'localhost' (using password: YES) in /home/juzek/domains/tomlot.eu/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43\nStack trace:\n#0 /home/juzek/domains/tomlot.eu/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(43): PDO->__construct('mysql:host=loca...', 'juzek_tomlot...', 'XXX...', Array)\n#1 /home/juzek/domains/tomlot.eu/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(44): Doctrine\\DBAL\\Driver\\PDOConnection->__construct('mysql:host=loca...', 'juzek_tomlot...', 'XXX...', Array)\n#2 /home/juzek/domains/tomlot.eu/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(360): Doctrine\\DBAL\\Driver\\PDOMySql\\Driver->connect(Array, 'juzek_tomlot...', 'XXX...', Array)\n#3 /home/juzek/domains/tomlot.eu/public_html/vendor...\n', referer: https://tomlot.eu/panel/index.php?controller=juzekDashboard&token=e95ef79abc2ab4c2adcb8bb60806ccde

Rozwiązanie

Usuń następujące pliki
rm -fr var/cache/dev/* ; rm -fr var/cache/prod/*

Wiedza: 
Praktyczna
Kategoria: