add database name and table name to error messages

This pull-req adds database name and table name to error messages.
These should be useful if import failed.