Update MySQL. Honour table and index prefixes. Make index name more spec...

...ific

Add unique index on key for SQLite

Delete old cache.sql file from root