How to migrate Database from 5.0.1 to 6?

This might help: Upgrade v502 to v600 10% per hours