Upgrade from v3 to v5 SQL problem

did you tried this How to use V3 database with V4?