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.
Is mysqli a specific requirement for 8.x-4.x? Without I get Error: Class 'mysqli' not found in BackupMigrate\Core\Source\MySQLiSource->_getConnection()
Otherwise it's working fine once that extension is enabled.
Comment | File | Size | Author |
---|---|---|---|
#8 | backup_migrate-n2663046-8.patch | 13.18 KB | DamienMcKenna |
|
Comments
Comment #2
mstrelan CreditAttribution: mstrelan commentedI have created a related issue on backup_migrate_core Github. https://github.com/backupmigrate/backup_migrate_core/issues/1
Comment #3
couturier CreditAttribution: couturier as a volunteer commentedCan you confirm if the error is still occurring with the January 2, 2017, dev release or the April 4, 2017, alpha 2?
Comment #4
ronan CreditAttribution: ronan commentedAs of right now mysqli is required to back up a db. I will probably have to build a pdo version to make this accessible to all Drupal users.
Comment #5
couturier CreditAttribution: couturier as a volunteer commentedI am wondering if this is necessary to build into D8 Backup and Migrate if users can just activate the extension on their own if needed?
Comment #6
DamienMcKennaComment #7
DamienMcKennaWould it be much effort to support the main mysql connection system too? Lets make this a feature request.
Comment #8
DamienMcKennaWIP, a class for the library. Still need to extend the rest of the system to allow using the class.
Comment #9
DamienMcKennaPer #8.
Comment #10
djg_tram CreditAttribution: djg_tram commented5.0.0-rc2 and the same error message about missing mysqli. Isn't this supposed to have been fixed years ago? :-)
Comment #11
ThirstySix CreditAttribution: ThirstySix as a volunteer and commentedYes. Same issue with 5.x
But, I enabled mysqli support on my server. Now it's working fine.
(or)
If you are using docker, add the below line in Dockerfile
RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli
Comment #12
DamienMcKennaMoving 8.x-4.x issues to 5.0.x because the older branch is no longer supported.
Comment #13
elvis2 CreditAttribution: elvis2 commented@ThirstySix, This was a big help. Thanks!