Issue Fatal Error need help

Hiren Gopalka

New Pleskian
Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'ajracabs'@'localhost' (using password: YES) in /var/www/vhosts/ajracabs.com/ajracab_admin/admin/vendor/yiisoft/yii2/db/Connection.php:630 Stack trace: #0 /var/www/vhosts/ajracabs.com/ajracab_admin/admin/vendor/yiisoft/yii2/db/Connection.php(630): PDO->__construct('mysql:host=loca...', 'ajracabs', '2ab09h_K', NULL) #1 /var/www/vhosts/ajracabs.com/ajracab_admin/admin/vendor/yiisoft/yii2/db/Connection.php(563): yii\db\Connection->createPdoInstance() #2 /var/www/vhosts/ajracabs.com/ajracab_admin/admin/index.php(22): yii\db\Connection->open() #3 {main} Next yii\db\Exception: SQLSTATE[HY000] [1045] Access denied for user 'ajracabs'@'localhost' (using password: YES) in /var/www/vhosts/ajracabs.com/ajracab_admin/admin/vendor/yiisoft/yii2/db/Connection.php:568 Stack trace: #0 /var/www/vhosts/ajracabs.com/ajracab_admin/admin/index.php(22): yii\db\Connection->open() #1 {main} Additional Information: thrown in /var/www/vhosts/ajracabs.com/ajracab_admin/admin/vendor/yiisoft/yii2/db/Connection.php on line 568
 
Unless I'm missing something, the best course of action would now be to create a new database user with a new password in Plesk, then make sure your application is using the correct information.

Delete the old database user as soon as possible.
 
Back
Top