#5 /home/XXXXXX/YYYYYYY/vendor/drush/drush/src/Boot/BootstrapHook.php(32): Drush\Boot\BootstrapManager->bootstrapToPhase('full', Object(Consolidation\AnnotatedCommand\AnnotationData)) #4 /home/XXXXXX/YYYYYYY/vendor/drush/drush/src/Boot/BootstrapManager.php(384): Drush\Boot\BootstrapManager->bootstrapToPhaseIndex(5, Object(Consolidation\AnnotatedCommand\AnnotationData)) #3 /home/XXXXXX/YYYYYYY/vendor/drush/drush/src/Boot/BootstrapManager.php(429): Drush\Boot\BootstrapManager->bootstrapValidate(4) #2 /home/XXXXXX/YYYYYYY/vendor/drush/drush/src/Boot/BootstrapManager.php(352): Drush\Boot\DrupalBoot8->bootstrapDrupalDatabaseValidate(Object(Drush\Boot\BootstrapManager)) #1 /home/XXXXXX/YYYYYYY/vendor/drush/drush/src/Boot/DrupalBoot8.php(194): Drupal\Core\Database\Database::getConnection() Php(189): Drupal\Core\Database\Database::openConnection('default', 'default') Error: Class 'Drupal\mysql\Driver\Database\mysql\Connection' not found in /home/XXXXXX/YYYYYYY/vendor/drupal/core/lib/Drupal/Core/Database/Database.php on line 413 #0 /home/XXXXXX/YYYYYYY/vendor/drupal/core/lib/Drupal/Core/Database/Database.\ Stack below some strings masked for privacy. Why is it messing with the namespace string I am providing, and more to the point, how do I get around this? Which proves that drush is parsing settings.php. If I corrupt my settings.php to list something like 'Drupdddddal\Core\Database\Driver\mysql' I get Class 'Drupdddddal\Core\Database\Driver\mysql\Connection' not found Edit: If I comment out the namespace specification in settings.php, it is still resulting in the same error. Somewhere the extra 'mysql' is getting inserted into this namespace string. However: vendor/bin/drush updatedb:statusįails with Error: Class 'Drupal\mysql\Driver\Database\mysql\Connection' not foundīut in my settings.php, I have the database namespace set to 'Drupal\Core\Database\Driver\mysql'. I am at the stage of running the database update. I am in the last stages of an update from drupal 8 to 9 using composer and drush.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |