cancel
Showing results for 
Search instead for 
Did you mean: 

Class Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor does not exist

Class Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor does not exist

I'm trying to install Magento 2.3.5 in localhost, and get the next error:

 

Class Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor does not exist

In InstallCommand.php line 264:

Parameter validation failed

It IS my first week using Linux and it is the first time that I will use magento, I am using the information provided in the magento page to install (I only made a few slight adjustments in timezone and base-url):

bin/magento setup:install --base-url=http://localhost/magento2-2.3.5 --db-host=localhost --db-name=magento --db-user=magento --db-password=magento --admin-firstname=admin --admin-lastname=admin --admin-email=admin@admin.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --timezone=America/Bogota --use-rewrites=1
2 REPLIES 2

Re: Class Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor does not exist

Hello @esteban931576c 

 

Please run the following commands from the docroot of your project setup:

chmod -R 777 generated/
php bin/magento setup:di:compile
Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: Class Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor does not exist

No