Hi,
I'm getting the following errors when I migrate and the destination database has a prefix
[Zend_Db_Statement_Exception]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbtest.customer_entity' doesn't exist, query was: DESCRIBE `customer_entity`
[PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbtest.customer_entity' doesn't exist
It looks like it's ignoring the prefix.
Without prefix the migration is working with no problem.
Hi @Croxarens
Try adding
$destinationDocName = $this->destination->addDocumentPrefix($destinationDocName);
into the beginning of \Migration\Step\Customer\Helper::getFieldsWithDefaultValues() Here
internal ticket to fix MAGETWO-69465
@victor-v-rad I'll try as soon as I'll complete the delta migration (see issue #307)
Had the same error when migrating to a fresh install with a prefix. Can confirm that adding $destinationDocName = $this->destination->addDocumentPrefix($destinationDocName); did the trick and fixed the issue.
confirming just for completeness that the commit fixes the issue
Fixed
@victor-v-rad Why the file is empty?
https://github.com/magento/data-migration-tool/blob/master/src/Migration/Step/Customer/Helper.php#L253
Most helpful comment
@victor-v-rad Why the file is empty?
https://github.com/magento/data-migration-tool/blob/master/src/Migration/Step/Customer/Helper.php#L253