I can export correctly. But has no contents. I think different settings are made between wordpress core and this plugin about use_mysqli.
*Wordpress core
wp-db.php (__constructor())
*Plug in
CFDBQueryResultIterator.php (shouldUseMySqli())
CFDBWpdbUnbufferedResultIterator.php (shouldUseMySqli())
So I have replace shouldUseMySqli() to below in CFDBQueryResultIterator.php and CFDBWpdbUnbufferedResultIterator.php.
public function shouldUseMySqli() {
$use_mysqli = false;
// Use ext/mysqli if it exists unless WP_USE_EXT_MYSQL is defined as true
if ( function_exists( ‘mysqli_connect’ ) ) {
$use_mysqli = true;
if ( defined( ‘WP_USE_EXT_MYSQL’ ) ) {
$use_mysqli = ! WP_USE_EXT_MYSQL;
}
}
return $use_mysqli;
}
*My environment
wordpress 4.9.2
contact-form-7-to-database-extension-2.10.34
It looks like it is working. Thanks.