by Visvanath Ratnaweera.
Hi
The problem is definitely not the "mdl_" table prefix. A mishap there would have given you the dreaded "Database not available" message.
The other one, two IDs for the same user, that doesn't sound good. Is that the same user or not? Read 'Moodle Restore fails with "Trying to restore user xxx from backup file will cause conflict"' https://moodle.org/mod/forum/discuss.php?d=213807.
Before starting to look into workarounds, think again why you are doing this "course-by-course migration" and not a site migration.
The problem is definitely not the "mdl_" table prefix. A mishap there would have given you the dreaded "Database not available" message.
The other one, two IDs for the same user, that doesn't sound good. Is that the same user or not? Read 'Moodle Restore fails with "Trying to restore user xxx from backup file will cause conflict"' https://moodle.org/mod/forum/discuss.php?d=213807.
Before starting to look into workarounds, think again why you are doing this "course-by-course migration" and not a site migration.