Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you use a custom installation profile with "OptimizeDB" as an dependency you get the following error: "The specified database connection is not defined: default".
Comments
Comment #1
sergeypavlenko CreditAttribution: sergeypavlenko commentedHi, @Arnoldski
Thanks for issue.
Specify which page you see this error? Errors are the module name "OptimizeDB"?
In the configuration file settings.php what settings to access the database?
Comment #2
sergeypavlenko CreditAttribution: sergeypavlenko commentedComment #5
sergeypavlenko CreditAttribution: sergeypavlenko commentedHi, @Arnoldski
Thanks for issue! Yesterday I found this bug and fixed. Now if you add OptimizeDB module to installation profile, drupal will be installed correctly without errors.
Bug fixed in new module version 7.x-1.6.