Trying to do migration of D6 to Drupal 8.7.2.
There are no table prefixes in source database.
SELECT schema_version FROM `system` where name='system'
gives me "6056" value.
But still when I press "Review Upgrade" button there is "Source database does not contain a recognizable Drupal version" error message.
Please help.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | issue-3057305.patch | 768 bytes | neffets |
Comments
Comment #2
sunil.yadav commentedI was having same issue. Please check if you have any table prefix then you need to add in "ADVANCED OPTIONS" there is a option "Table name prefix" .
Comment #3
f1mishutka commentedHi sunil.yadav,
As I noticed in issue description, I have no table prefixes.
Comment #5
quietone commented@f1mishutka, Thanks for reporting this issue.
I have tested this on 8.7.x and 9.1.x and am unable to reproduce the problem. I used a source database with a system schema of '6056'.
Since I can' reproduce this issue on the Drupal version it was reported against or the latest version, I'm marking the issue "Closed (cannot reproduce)". If anyone can provide complete steps to reproduce the issue (starting from "Install Drupal core"), document those steps in the issue summary and set the issue status back to "Active".
Thanks!
Comment #6
neffets commentedProblem occurs again.
Migration from 7.84 to 8.9.20
Mysql is an mysql/mysql-server:8.0
Problem occurs with check of LegacyVersion its trying to access in the d7 database:
> SELECT schema_version FROM system where name='system';
Mysql Error: ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'system where name='system'
There are missing the backticks "`" around the tablename "system" because system is a reserved word in Mysql-8
Fix for migration was in web/core/lib/Drupal/Core/Database/Connection.php
Comment #7
neffets commentedComment #8
cilefen commentedPlease verify on Drupal 9.