R
R
Ruslan9992021-01-10 15:09:31
Composer
Ruslan999, 2021-01-10 15:09:31

Laravel - composer does not find class Doctrine DBall, what's wrong?

I'm trying to change the values ​​in the table through the console. I get the error

Error

Class 'Doctrine\DBAL\Driver\PDOMySql\Driver' not found

at C:\progi\OpenServer\domains\laravel.loc\vendor\laravel\framework\src\Illuminate\Database\MySqlConnection.php:64
60| * return \Doctrine\DBAL\Driver\PDOMySql\Driver
61| */
62| protected function getDoctrineDriver()
63| {
> 64| return new DoctrineDriver;
65| }
66| }
67|

1 C:\progi\OpenServer\domains\laravel.loc\vendor\laravel\framework\src\Illuminate\Database\Connection.php:894
Illuminate\Database\MySqlConnection::getDoctrineDriver()

2 C:\progi\OpenServer\domains\laravel.loc\vendor\laravel\framework\src\Illuminate\Database\Schema\Grammars\ChangeColumn.php:36
Illuminate\Database\Connection::getDoctrineSchemaManager() I execute

the command composer require doctrine /dbal
A message appears in the console that there is nothing to update. It's kind of all there. But I still can't make changes to the table. After the php artisan migrate command, the console again writes

Error

Class 'Doctrine\DBAL\Driver\PDOMySql\Driver' not found

, please tell me what's wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question