Show's a simple way of using a single mysql data folder between major Mysql versions.
NOTE: While it works for me I'm NOT RESPONSIBLE FOR ANY DATA LOSS!