Last week, I completed the SuiteCRM8 installation in the test environment. I have completed all the steps, but I cannot login to the system. I can log in to the index.php module under /legacy with the user and password that I set in the setup wizard, but I get an error in the index.php under /public. I will post screenshots and logs. I couldnât understand why I was getting such an error. Also, there is an error with mysql in the log file, but everything seems ok in terms of permissions and accesses.
[2022-01-17 13:35:50] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\DriverException: âAn exception occurred in driver: SQLSTATE[HY000] [1698] Access denied for user ârootâ@âlocalhostââ at /var/www/html/suitecrm/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 128 {âexceptionâ:"[object] (Doctrine\DBAL\Exception\DriverException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [1698] Access denied for user ârootâ@âlocalhostâ at /var/www/html/suitecrm/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:128, Doctrine\DBAL\Driver\PDO\Exception(code: 1698): SQLSTATE[HY000] [1698] Access denied for user ârootâ@âlocalhostâ at /var/www/html/suitecrm/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: 1698): SQLSTATE[HY000] [1698] Access denied for user ârootâ@âlocalhostâ at /var/www/html/suitecrm/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40)"} []