Preliminary MySQL support
further sql upgrades